Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AttributeUsageAttribute Class

.NET Micro Framework 3.0
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:
© 2015 Microsoft