Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2006

Tip: Looking for answers? Try searching our database.

Reference of Available Metadata Attributes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nathan Sokalski - 27 Jun 2006 07:47 GMT
Does anybody know of a page with a good reference of the available Metadata
Attributes in .NET? Thanks.
Signature

Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

Mattias Sjögren - 27 Jun 2006 20:52 GMT
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

Signature

Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Nathan Sokalski - 28 Jun 2006 02:26 GMT
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.
Signature

Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

> Nathan,
>
[quoted text clipped - 7 lines]
>
> Mattias
Vadivel Kumar - 28 Jun 2006 12:05 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.