AttributeUsageAttribute AttributeUsageAttribute AttributeUsageAttribute AttributeUsageAttribute AttributeUsageAttribute Class

Definition

Specifies the use of another attribute.

.NET This type appears as System.AttributeUsageAttribute.

public : sealed class AttributeUsageAttribute : Attribute
struct winrt::Windows::Foundation::Metadata::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) AttributeUsageAttribute(AttributeTargets)

Creates and initializes a new instance of the attribute.

See also