Windows Dev Center

PlatformAttribute attribute

Declares the platform that a type should be supported in, when platform-specific metadata is produced.

Syntax


var platformAttribute = new Windows.Foundation.Metadata.PlatformAttribute();

Attributes

[Version(0x6030000)]

Members

The PlatformAttribute attribute has these types of members:

Constructors

The PlatformAttribute attribute has these constructors.

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

 

Methods

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

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

Object
Attribute

 

 

Show:
© 2015 Microsoft