Windows Dev Center

Platform enumeration

Specifies the platforms that a specified type should be supported in, as used by Windows Runtime attributes and metadata.

Syntax


var value = Windows.Foundation.Metadata.Platform.windows;

Members

The Platform enumeration has these members.

MemberValueDescription
Windows | windows0

For use by Windows metadata.

WindowsPhone | windowsPhone1

For use by Windows Phone metadata.

Requirements (Windows 10 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 (Windows 8.x and Windows Phone 8.x)

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

Attributes

[Version(0x06030000)]

 

 

Show:
© 2015 Microsoft