Attribute​Usage​Attribute Attribute​Usage​Attribute Attribute​Usage​Attribute Attribute​Usage​Attribute Class

Definition

Specifies the use of another attribute.

.NET This type appears as System.AttributeUsageAttribute.

public : sealed class AttributeUsageAttribute : Attributepublic sealed class AttributeUsageAttribute : AttributePublic NotInheritable Class AttributeUsageAttribute Inherits Attribute// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Remarks

When programming with .NET, this attribute is hidden and developers should use System.AttributeUsageAttribute.

Constructors

AttributeUsageAttribute(AttributeTargets) AttributeUsageAttribute(AttributeTargets) AttributeUsageAttribute(AttributeTargets) AttributeUsageAttribute(AttributeTargets)

Creates and initializes a new instance of the attribute.

public : AttributeUsageAttribute(AttributeTargets A_0)public AttributeUsageAttribute(AttributeTargets A_0)Public Sub New(A_0 As AttributeTargets)// You can use this method in JavaScript.
Parameters
A_0
AttributeTargets AttributeTargets AttributeTargets AttributeTargets

One or more of the enumeration values.

See Also