ConstantTypeCode 枚举

定义

指定值,用于表示元数据常数的类型。Specifies values that represent types of metadata constants.

public enum class ConstantTypeCode
public enum ConstantTypeCode
type ConstantTypeCode = 
Public Enum ConstantTypeCode
继承
ConstantTypeCode

字段

Boolean 2

Boolean 类型。A Boolean type.

Byte 5

1 字节无符号整数。An unsigned 1-byte integer.

Char 3

一个字符类型。A character type.

Double 13

8 字节浮点类型。An 8-byte floating point type.

Int16 6

2 字节有符号整数类型。A signed 2-byte integer type.

Int32 8

4 字节有符号整数类型。A signed 4-byte integer type.

Int64 10

8 字节有符号整数类型。A signed 8-byte integer type.

Invalid 0

无效类型。An invalid type.

NullReference 18

空引用。A null reference.

SByte 4

1 字节有符号整数类型。A signed 1-byte integer type.

Single 12

4 字节浮点类型。A 4-byte floating point type.

String 14

String 类型。A String type.

UInt16 7

2 字节无符号整数类型。An unsigned 2-byte integer type.

UInt32 9

4 字节无符号整数类型。An unsigned 4-byte integer type.

UInt64 11

8 字节无符号整数类型。An unsigned 8-byte integer type.

适用于