|
|
Title | Use the Browsable attribute in VB .NET |
Description | This example shows how to use the Browsable attribute in VB .NET. |
Keywords | browsable, BrowsableAttribute, attribute, VB.NET, property |
Categories | VB.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
|
|
|
|
|
|