|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Reference of Available Metadata AttributesDoes anybody know of a page with a good reference of the available Metadata
Attributes in .NET? Thanks. Nathan,
Wow, you carefully picked the groups to post to, didn't you? >Does anybody know of a page with a good reference of the available Metadata Can you clarify what exactly you mean by "metadata attribute"?>Attributes in .NET? Thanks. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. 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. Show quote "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message news:ecgb7MimGHA.3632@TK2MSFTNGP03.phx.gbl... > Nathan, > > Wow, you carefully picked the groups to post to, didn't you? > > >>Does anybody know of a page with a good reference of the available >>Metadata >>Attributes in .NET? Thanks. > > Can you clarify what exactly you mean by "metadata attribute"? > > > Mattias > > -- > Mattias Sjögren [C# MVP] mattias @ mvps.org > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com > Please reply only to the newsgroup. 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. Show quote "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message news:ecgb7MimGHA.3632@TK2MSFTNGP03.phx.gbl... > Nathan, > > Wow, you carefully picked the groups to post to, didn't you? > > >>Does anybody know of a page with a good reference of the available >>Metadata >>Attributes in .NET? Thanks. > > Can you clarify what exactly you mean by "metadata attribute"? > > > Mattias > > -- > Mattias Sjögren [C# MVP] mattias @ mvps.org > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com > Please reply only to the newsgroup. 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. http://www.donxml.com/FunwithAttributeBasedProgramming.htm - Vadivel Kumar http://vadivelk.net |
|||||||||||||||||||||||