Platform Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
Windows | 0 | For use by Windows metadata. |
WindowsPhone | 1 | For use by Windows Phone metadata. |