Here is a code example I copied from the .NET documentation:
Public Class MyControl
Inherits Control
' The base class has [Browsable(true)] applied to the Text property.
<Browsable(False)> _
Public Overrides Property [Text]() As String
...
End Property
...
End Class
In this code, <Browsable(False)> is a metadata attribute. Because I am
somewhat new to using metadata attributes (which is why I want to find a
page with a list of the ones available), I can't really give much more than
that.
Very first, the Metadata Attributes are the classes that inherits
System.Attribute class provided by .NET framework. So, you can check
this thru MSDN itself.
You can also have a custom attributes for your class. The below url can
get you good amount of insight about the Attributes and its usage.
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.