PlatformAttribute Constructor

Creates and initializes a new instance of the attribute.

Syntax

public:
PlatformAttribute(
         Platform platform
)  

Parameters

platform
Type: Platform 

Specifies the platforms that a specified type should be supported in.

Requirements

Namespace: Windows.Foundation.Metadata

Metadata: windows.winmd

See also

Reference

PlatformAttribute Class

PlatformAttribute Members

Windows.Foundation.Metadata Namespace