All Namespaces

  • Namespaces
    • AjaxControlToolkit
    • com
    • CrystalDecisions
    • DevExpress
    • DocumentFormat
    • Dundas
    • Ilrun
    • MediaCenter
    • Microsoft
    • MS
    • ServiceBus
    • Spaanjaars
    • SqlContracts
    • System
      • Activities
      • AddIn
      • CodeDom
      • ComponentModel
      • Configuration
      • Data
      • Design
      • Diagnostics
      • DirectoryServices
      • Drawing
      • Dynamic
      • EnterpriseServices
      • IdentityModel
      • IO
      • Linq
      • Management
      • Messaging
      • Net
      • Printing
      • Reflection
      • Resources
      • Runtime
      • Security
      • ServiceModel
      • ServiceProcess
      • Timers
      • Transactions
      • Web
      • Windows
      • Workflow
      • Xml
    • WindowsFormsIntegration


Name: Attribute
Namespace: System
Inherits from: System.Object
Short description: Represents the base class for custom attributes.
Added: 2009-02-14
Last modified: 2013-07-12
External help:
Added by: Imar Spaanjaars
Can be used on:
Assembly Class Interface
Method Property Field
Constructor Struct Enum
Event Parameter Delegate
ReturnValue Generic Parameter Module
Available in:
  • 4.0.0
Defined in:
  • mscorlib.dll (
  • mscorlib.dll (
Yes Sealed? No
Yes Internal? No
Allow multiple?
No Obsolete? No
Full description:

 The System.Attribute class is the "mother of all attributes".

Besides being the base class for all the other built-in properties in the .NET framework and the ones you create yourself, this class also exposes a number of useful methods (like GetCustomAttributes) that can help you get a list of attributes that have been applied to other code elements like assemblies, members and so on.

Class diagram:
This diagram is autogenerated and may contain errors.
Please report them if you find them.

Code examples

No code examples were found for this attribute.

If you want to add a code example, you need to log in first. Don't have account? You can sign up for one right now.


No links found.

If you want to add a link, you need to log in first. Don't have account? You can sign up for one right now.