AttributeUsageAttribute attribute

Applies to Windows and Windows Phone

Specifies the use of another attribute.

.NET:  This type appears as System.AttributeUsageAttribute.

Syntax


var attributeUsageAttribute = new Windows.Foundation.Metadata.AttributeUsageAttribute();

Attributes

[AttributeUsage(512)]
[Version(0x6020000)]

Members

The AttributeUsageAttribute attribute has these types of members:

Constructors

The AttributeUsageAttribute attribute has these constructors.

ConstructorDescription
AttributeUsageAttribute Creates and initializes a new instance of the attribute.

 

Methods

The AttributeUsageAttribute attribute inherits methods from the Object class (C#/VB/C++).

Remarks

When building Windows Store apps with the Microsoft .NET Framework, this attribute is hidden and developers should use System.AttributeUsageAttribute.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.winmd

See also

Attribute

 

 

Show:
© 2014 Microsoft