|
|
Title | Use the ParenthesizePropertyName attribute in VB .NET |
Description | This example shows how to use the ParenthesizePropertyName attribute in VB .NET. |
Keywords | ParenthesizePropertyName, attribute, VB.NET, property |
Categories | VB.NET |
|
|
The ParenthesizePropertyName attribute tells property editors such as the Properties window to display the property's name surrounded by parentheses (). The property is also moved to the top of the list or to the top of its category if the developer is sorting the properties by category.
|
|
Private m_EmployeeOfTheMonth As String
<ParenthesizePropertyName(True)> _
Public Property EmployeeOfTheMonth() As String
Get
Return m_EmployeeOfTheMonth
End Get
Set(ByVal Value As String)
m_EmployeeOfTheMonth = Value
End Set
End Property
|
|
|
|
|
|