Comprehensive list of Attributes build into .Net
-
Can anybody point me to a comprehensive list of all the Attributes build into the .NET Framework? Can anybody suggest a way that I can search the MSDN documentation for a comments on all the Attributes? Because they are spread across so many namespaces, I find it difficult to get a good sense for all the Attributes out there. It's like you have to go at them from the context in which you're going to use them. I've read many articles on C# control design (here at CodeProject and elsewhere) that give me a glimpse of the properties that affect an object when viewed in the PropertyGrid, but that is just one small sub-set of the "built-in custom attributes". What gives?
-
Can anybody point me to a comprehensive list of all the Attributes build into the .NET Framework? Can anybody suggest a way that I can search the MSDN documentation for a comments on all the Attributes? Because they are spread across so many namespaces, I find it difficult to get a good sense for all the Attributes out there. It's like you have to go at them from the context in which you're going to use them. I've read many articles on C# control design (here at CodeProject and elsewhere) that give me a glimpse of the properties that affect an object when viewed in the PropertyGrid, but that is just one small sub-set of the "built-in custom attributes". What gives?
Default .NET attributes are in fact classes whose name is of the form
___Attribute
. For instance [DllImport(...)] is managed by theDllImportAttribute
class, in the System.Runtime.InteropServices namespace. I am not aware of a flat listing of those attributes. However, you can use the * wildcard in MSDN to find all *Attribute classes. -
Default .NET attributes are in fact classes whose name is of the form
___Attribute
. For instance [DllImport(...)] is managed by theDllImportAttribute
class, in the System.Runtime.InteropServices namespace. I am not aware of a flat listing of those attributes. However, you can use the * wildcard in MSDN to find all *Attribute classes.Local MSDN: ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemattributeclasshierarchy.htm MS MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemattributeclasshierarchy.asp?frame=true
-
Local MSDN: ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemattributeclasshierarchy.htm MS MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemattributeclasshierarchy.asp?frame=true
Thanks. Don't forget clickety police[^] !
-
Thanks. Don't forget clickety police[^] !
-
Clickety police? Is this another bit of net lingo of which I am ignorant? Or are you talking about some kind of copyright violation for linking to a page within another site? :confused:
Clickety police is a funny name a lot of Cpians refer to when they make a url cliquable, with that top hat. ;) In fact, Chris has been handed a javascript code that automatically translates urls to full cliquable links, and it's expected to be used in the message board. But it isn't wired yet, obviously.