what r the properties should be given to set method?
Answers were Sorted based on User's Feedback
Answer / venkatesh
Class Class1
' Define a local variable to store the property value.
Ans: Only One Property.
example:
Private PropertyValue As String
' Define the property.
Public Property Prop1() As String
Get
' The Get property procedure is called when the
' value
' of a property is retrieved.
Return PropertyValue
End Get
Set(ByVal Value As String)
' The Set property procedure is called when the
' value
' of a property is modified.
' The value to be assigned is passed in the
' argument to Set.
PropertyValue = Value
End Set
End Property
End Class
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / santosh prasad
The procedures that are described in the get method and
that methods are given in the set method.
Is This Answer Correct ? | 1 Yes | 0 No |
What is the Difference between Web User Control and Web Custom Control?
What is the Difference between Dataset and Datareader?
Can you please explain the difference between dataset and datareader?
Which dll is used for microsoft .net run time?
What is visual basic.net culture?
Explain the difference between dispose and finalize()?
hi,everyone. i got a problem in handling linklabels. i've more than one linklabels in a form. i used following event handler to handle the event 'LinkClicked' of Linklabel. private sub LinkLabel1_LinkClicked() Handles LinkLabel1.LinkClicked,LinkLabel2.LinkClicked ............... .......... end sub My question is how to identify the 'Linklabel1' and 'Linklabel2'. i dont want to handle the events of linklabels individually.
How many classes a dll can contain?
What is redim keyword and its use?
What is the importance of a Button control?
What are the differences between c# and visual basic.net?
What is the difference between manifest and metadata?