question about attributes of class

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é
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top