Mono Class Library: System Namespace

System.AttributeUsageAttribute Class

Specifies the behavior of a custom attribute when that attribute is defined. [Edit]

See Also: AttributeUsageAttribute Members

System.Object
     System.Attribute
          System.AttributeUsageAttribute

[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class AttributeUsageAttribute : Attribute

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Note: Custom attributes can be applied to various application ("target") elements, such as classes, parameters, and structures (see AttributeTargets for the full list). The AttributeUsageAttribute class contains three properties that govern custom attribute behavior: the kinds of application elements the attribute can be associated with; whether the attribute can or cannot be inherited by derived elements; and whether multiple instances of the attribute can or cannot be allowed on the same target element.
[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0