Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleUse the ParenthesizePropertyName attribute in VB .NET
DescriptionThis example shows how to use the ParenthesizePropertyName attribute in VB .NET.
KeywordsParenthesizePropertyName, attribute, VB.NET, property
CategoriesVB.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
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated