what r the properties should be given to set method?
Answer Posted / 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 |
Post New Answer View All Answers
Explain the difference between thread and process?
How would you implement inheritance using vb.net?
Is vb net a scripting language?
How to store images in sql server database through vb.net?
Which namespace are used for accessing the data?
Explain how to store decimal data in .net?
Explain about visual basic?
What is late binding?
Explain the difference between c# and vb.net?
Explain the difference between datatable and dataset?
How many classes a dll can contain?
What is the diff between vb mdi form and .net mdi form?
What is the difference between .dll extension and .exe extension files?
What is the purpose of objects present in asp.net?
What are the differences between vb.net and c#, related to oops concepts