ConstantTypeCode ConstantTypeCode ConstantTypeCode ConstantTypeCode Enum

Definition

Specifies values that represent types of metadata constants.

public enum class ConstantTypeCode
public enum ConstantTypeCode
type ConstantTypeCode = 
Public Enum ConstantTypeCode
Inheritance
ConstantTypeCodeConstantTypeCodeConstantTypeCodeConstantTypeCode

Fields

Boolean Boolean Boolean Boolean 2

A Boolean type.

Byte Byte Byte Byte 5

An unsigned 1-byte integer.

Char Char Char Char 3

A character type.

Double Double Double Double 13

An 8-byte floating point type.

Int16 Int16 Int16 Int16 6

A signed 2-byte integer type.

Int32 Int32 Int32 Int32 8

A signed 4-byte integer type.

Int64 Int64 Int64 Int64 10

A signed 8-byte integer type.

Invalid Invalid Invalid Invalid 0

An invalid type.

NullReference NullReference NullReference NullReference 18

A null reference.

SByte SByte SByte SByte 4

A signed 1-byte integer type.

Single Single Single Single 12

A 4-byte floating point type.

String String String String 14

A String type.

UInt16 UInt16 UInt16 UInt16 7

An unsigned 2-byte integer type.

UInt32 UInt32 UInt32 UInt32 9

An unsigned 4-byte integer type.

UInt64 UInt64 UInt64 UInt64 11

An unsigned 8-byte integer type.

Applies to