what r the properties should be given to set method?

Answers were Sorted based on User's Feedback



what r the properties should be given to set method?..

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

what r the properties should be given to set method?..

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

Post New Answer

More VB.NET Interview Questions

What is the Difference between Web User Control and Web Custom Control?

6 Answers   Benchmark,


What is the Difference between Dataset and Datareader?

7 Answers  


Can you please explain the difference between dataset and datareader?

0 Answers  


Which dll is used for microsoft .net run time?

0 Answers  


What is visual basic.net culture?

0 Answers  






Explain the difference between dispose and finalize()?

0 Answers  


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.

1 Answers  


How many classes a dll can contain?

0 Answers  


What is redim keyword and its use?

0 Answers  


What is the importance of a Button control?

0 Answers  


What are the differences between c# and visual basic.net?

0 Answers  


What is the difference between manifest and metadata?

0 Answers  


Categories