AttributeUsageAttribute AttributeUsageAttribute AttributeUsageAttribute AttributeUsageAttribute Class

Definition

Specifies the use of another attribute.

.NET This type appears as System.AttributeUsageAttribute.

public : sealed class AttributeUsageAttribute : Attribute
public sealed class AttributeUsageAttribute : Attribute
Public NotInheritable Class AttributeUsageAttribute Inherits Attribute
var attributeUsageAttribute = new attributeUsageAttribute(a_0);
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)
var attributeUsageAttribute = new attributeUsageAttribute(a_0);
Parameters
A_0
AttributeTargets AttributeTargets AttributeTargets AttributeTargets

One or more of the enumeration values.

See Also