04-27-2013, 05:19 AM
I have some additional code for properties:
1] Create a description for the property
You need to put this code above so it'll eventually look like this:
If you click the property you will see a description your_description.
2] Define a category where the property has to be listed
If you don't define a category Visual Studio will create a new one that is called 'Misc'.
To add your property to a category or create a new one enter this following lineabove the Your property will now be displayed in the category Data.
1] Create a description for the property
Code:
<System.ComponentModel.Description("your_description")>
Code:
Public Property YourProperty() As String
Code:
Public _YourProperty
<System.ComponentModel.Description("your_description")>
Public Property YourProperty() As String
Get
Return _YourProperty
End Get
Set(ByVal value As String)
_YourProperty= value
End Set
End Property
2] Define a category where the property has to be listed
If you don't define a category Visual Studio will create a new one that is called 'Misc'.
To add your property to a category or create a new one enter this following line
Code:
<Category("Data")>
Code:
Public Property YourPropery() As String