ConstantTypeCode Enum

Definition

Anger värden som representerar typer av metadatakonstanter.

public enum class ConstantTypeCode
public enum ConstantTypeCode
type ConstantTypeCode = 
Public Enum ConstantTypeCode
Arv
ConstantTypeCode

Fält

Name Värde Description
Invalid 0

En ogiltig typ.

Boolean 2

En boolesk typ.

Char 3

En teckentyp.

SByte 4

En signerad heltalstyp på 1 byte.

Byte 5

Ett osignerat heltal på 1 byte.

Int16 6

En signerad heltalstyp på 2 byte.

UInt16 7

En osignerad heltalstyp på 2 byte.

Int32 8

En signerad heltalstyp på 4 byte.

UInt32 9

En osignerad heltalstyp på 4 byte.

Int64 10

En signerad heltalstyp på 8 byte.

UInt64 11

En osignerad heltalstyp på 8 byte.

Single 12

En flyttal med 4 byte.

Double 13

En flyttal med 8 byte.

String 14

En typ av String.

NullReference 18

En null-referens.

Gäller för