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 what observations between vb.net and vc#.net?
Can you please explain the difference between int and int32?
What is a preprocessor directive in vb.net?
What are the technology areas that microsoft.net contains?
Explain and brief about rapid application development tool?
What is non_deterministic finalization?
So you know which dll is used for microsoft .net run time?
What is jagged array in vb.net?
Explain the observations between vb.net and vc#.net?
How many classes a dll can contain?
What is an assembly and its use?
What is the use of system.diagnostics.process class?
What is multiple form in vb?
i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate
What is tracing?