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 |
i have two class that contain's two methods as same name in derived class i have to call these two methods what will happen at run time ?
Explain nested classes?
How to achieve Polymorphism in VB.Net?
Explain how the .net framework performs automatic memory management.
Explain the difference between namespace and assembly?
Difference between a sub and a function?
How to store decimal data in .net?
Explain strong name in .net assembly?
Thank you for replying to my Question regarding Barcodes in VB.net. My next question is that how to use Barcode Fonts in VB.net I need a small code to Generate Barcodes in VB.net from a string of Values. This is the only problem i am left with in my project. Any body can help me please.
What is tracing?
What is a literal control?
How do you call a stored procedure in Visual Basic?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)