AttributeUsageAttribute AttributeUsageAttribute AttributeUsageAttribute AttributeUsageAttribute Class

Specifies the use of another attribute.

.NET This type appears as System.AttributeUsageAttribute.

Syntax

Declaration

public sealed class AttributeUsageAttributepublic sealed class AttributeUsageAttributePublic NotInheritable Class AttributeUsageAttribute

Remarks

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

Constructors summary

Creates and initializes a new instance of the attribute.

Constructors

  • AttributeUsageAttribute(Windows.Foundation.Metadata.AttributeTargets)
    AttributeUsageAttribute(Windows.Foundation.Metadata.AttributeTargets)
    AttributeUsageAttribute(Windows.Foundation.Metadata.AttributeTargets)
    AttributeUsageAttribute(Windows.Foundation.Metadata.AttributeTargets)

    Creates and initializes a new instance of the attribute.

    public AttributeUsageAttribute(Windows.Foundation.Metadata.AttributeTargets A_0)public AttributeUsageAttribute(Windows.Foundation.Metadata.AttributeTargets A_0)Public Function AttributeUsageAttribute(A_0 As Windows.Foundation.Metadata.AttributeTargets) As

    Parameters

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.FoundationContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.AttributeUsageAttribute

Details

Assembly

Windows.Foundation.Metadata.dll