Platform Enum

Definition

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

public enum class Platform
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
enum class Platform
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public enum Platform
var value = Windows.Foundation.Metadata.Platform.windows
Public Enum Platform
Inheritance
Platform
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced in v1.0)

Fields

Windows 0

For use by Windows metadata.

WindowsPhone 1

For use by Windows Phone metadata.

Applies to