question about attributes of class

  • Thread starter Thread starter André
  • Start date Start date
A

André

Hi,

i'm still learning working with classes.
I read this code:

Public Class Employee
<Browsable(True)> _
Public Property Property1() As String
Get

End Get
Set(ByVal Value As String)

End Set
End Property
End Class

and also this:

<DefaultProperty("Color"), DefaultEvent("ColorChanged")> _
Public Class ColorPicker
.....
End class

My question is: what does mean <Browsable(True)>_ and
<DefaultProperty("Color"), DefaultEvent("ColorChanged")> ?
What are the allowed values between the <...>? How do they work?

Thanks again
André
 
Back
Top