AttributeUsageAttribute Class

Windows Automotive 5.0/5.5
Specifies the usage of another attribute class.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

[AttributeUsageAttribute]
[SerializableAttribute]
public sealed class AttributeUsageAttribute : Attribute

This class cannot be inherited.

When you are defining your own attribute class, you can control the manner in which it is used by assigning an AttributeUsageAttribute object to your attribute class. Note that your attribute class must derive from the Attribute class, either directly or indirectly.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions

ADD
Show: