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 does assert() method do In VB.NET

0 Answers   MCN Solutions,


What are the technology areas that microsoft.net contains?

0 Answers  


when a program of vb.net is written in notepad it occupies always 1kb of memory why?

1 Answers  


Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?

0 Answers  


Can we use a crystal report into a another crystal report

7 Answers  






Explain about the feature anonymous type?

0 Answers  


hello friends.. when i deployment my project in the client machine that is successful but whenever i try to run my project using .exe file then it gives me error "<filename>.exe is not a valid win32 application." what i do somebody halp me pls

1 Answers  


Explain the difference between web.config and machine.config and where it will be ?

0 Answers  


What is the advantages of VB.NET?

0 Answers   NA,


code for export,import,save,update,delete ?

1 Answers  


What are the advantages of an assembly?

0 Answers  


Why do we use ansi keyword?

0 Answers  


Categories