Ler em inglês

Partilhar via


PrimitiveTypeCode Enumeração

Definição

Especifica constantes que definem tipos primitivos encontrados em assinaturas de metadados.

C#
public enum PrimitiveTypeCode
Herança
PrimitiveTypeCode

Campos

Nome Valor Description
Boolean 2

Um tipo Boolean.

Byte 5

Um tipo Byte.

Char 3

Um tipo Char.

Double 13

Um tipo Double.

Int16 6

Um tipo Int16.

Int32 8

Um tipo Int32.

Int64 10

Um tipo Int64.

IntPtr 24

Um tipo IntPtr.

Object 28

Um tipo Object.

SByte 4

Um tipo SByte.

Single 12

Um tipo Single.

String 14

Um tipo String.

TypedReference 22

Uma referência com tipo.

UInt16 7

Um tipo UInt16.

UInt32 9

Um tipo UInt32.

UInt64 11

Um tipo UInt64.

UIntPtr 25

Um tipo UIntPtr.

Void 1

Um tipo Void.

Aplica-se a

Produto Versões
.NET Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0