Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Comprehensive list of Attributes build into .Net

Comprehensive list of Attributes build into .Net

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpdotnetdesignquestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    flipdoubt
    wrote on last edited by
    #1

    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?

    S 1 Reply Last reply
    0
    • F flipdoubt

      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?

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #2

      Default .NET attributes are in fact classes whose name is of the form ___Attribute. For instance [DllImport(...)] is managed by the DllImportAttribute 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.

      F 1 Reply Last reply
      0
      • S Stephane Rodriguez

        Default .NET attributes are in fact classes whose name is of the form ___Attribute. For instance [DllImport(...)] is managed by the DllImportAttribute 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.

        F Offline
        F Offline
        flipdoubt
        wrote on last edited by
        #3

        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

        S 1 Reply Last reply
        0
        • F flipdoubt

          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

          S Offline
          S Offline
          Stephane Rodriguez
          wrote on last edited by
          #4

          Thanks. Don't forget clickety police[^] !

          F 1 Reply Last reply
          0
          • S Stephane Rodriguez

            Thanks. Don't forget clickety police[^] !

            F Offline
            F Offline
            flipdoubt
            wrote on last edited by
            #5

            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:

            S 1 Reply Last reply
            0
            • F flipdoubt

              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:

              S Offline
              S Offline
              Stephane Rodriguez
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups