AttributeUsageAttribute Constructor

Creates and initializes a new instance of the attribute.

Syntax

public:
AttributeUsageAttribute(
         AttributeTargets targets
)  

Parameters

targets
Type: AttributeTargets 

One or more of the enumeration values.

Requirements

Namespace: Windows.Foundation.Metadata

Metadata: windows.winmd

See also

Reference

AttributeUsageAttribute Class

AttributeUsageAttribute Members

Windows.Foundation.Metadata Namespace