指定表示一个内置类型的数字类别。
语法
enum class TypeCode {};
成员
| 类型代码 | 说明 |
|---|---|
| Boolean | Platform::Boolean 类型。 |
| Char16 | default::char16 类型。 |
| DateTime | DateTime 类型。 |
| 十进制 | 数值类型。 |
| 双精度 | default::float64 类型。 |
| 空 | Void |
| Int16 | default::int16 类型。 |
| Int32 | default::int32 类型。 |
| Int64 | default::int64 类型。 |
| Int8 | default::int8 类型。 |
| 对象 | Platform::Object 类型。 |
| Single | default::float32 类型。 |
| 字符串 | Platform::String 类型。 |
| UInt16 | default::uint16 类型。 |
| UInt32 | default::uint32 类型。 |
| UInt64 | default::uint64 类型。 |
| UInt8 | default::uint8 类型。 |
要求
支持的最低客户端版本:Windows 8
支持的最低服务器版本:Windows Server 2012
命名空间: Platform
元数据: platform.winmd