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 Browsable attribute in VB .NET
DescriptionThis example shows how to use the Browsable attribute in VB .NET.
Keywordsbrowsable, BrowsableAttribute, attribute, VB.NET, property
CategoriesVB.NET
 
The Browsable attribute indicates whether a component's property should be visible in the Properties window.

The Employee class has LastName property marked as not browsable. At design time, the FirstName property is visible in the Properties window but the LastName property is not.

 
<Browsable(False)> _
Public Property LastName() As String
    Get
        Return m_LastName
    End Get
    Set(ByVal Value As String)
        m_LastName = Value
    End Set
End Property
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated