Compartilhar via


Equivalentes do .NET Framework aos tipos nativos do C++ (C++/CLI)

A tabela a seguir mostra as palavras-chave para os tipos internos do Visual C++, que são aliases de predefinido no namespace de Sistema .

Tipo do Visual C++

Tipo do .NET Framework

bool

System.Boolean

signed char (consulte /J para obter mais informações)

System.SByte

gráfico não assinado

System.Byte

wchar_t

System.Char

double e long double

System.Double

float

System.Single

int, signed int, long, e signed long

System.Int32

unsigned int e unsigned long

System.UInt32

__int64 e signed __int64

System.Int64

unsigned __int64

System.UInt64

short e signed short

System.Int16

unsigned short

System.UInt16

void

System.Void

Consulte também

Outros recursos

Tipos gerenciados (C++/CLI)