Método ICorDebugType::GetTypeICorDebugType::GetType Method
Obtém um valor de CorElementType que descreve o tipo nativo do Common Language Runtime (CLR) Type representado por esse ICorDebugType.Gets a CorElementType value that describes the native type of the common language runtime (CLR) Type represented by this ICorDebugType.
SintaxeSyntax
HRESULT GetType (
[out] CorElementType *ty
);
ParâmetrosParameters
ty
fora Um ponteiro para um valor da CorElementType
enumeração que indica o CLR Type que isso ICorDebugType
representa.[out] A pointer to a value of the CorElementType
enumeration that indicates the CLR Type that this ICorDebugType
represents.
ComentáriosRemarks
Se o valor de ty
for ELEMENT_TYPE_CLASS ou ELEMENT_TYPE_VALUETYPE, o método ICorDebugType:: GetClass poderá ser chamado para obter o tipo não instanciado para um tipo genérico; caso contrário, não chame ICorDebugType::GetClass
.If the value of ty
is either ELEMENT_TYPE_CLASS or ELEMENT_TYPE_VALUETYPE, the ICorDebugType::GetClass method may be called to get the uninstantiated type for a generic type; otherwise, do not call ICorDebugType::GetClass
.
RequisitosRequirements
Plataformas: confira Requisitos do sistema.Platforms: See System Requirements.
Cabeçalho: CorDebug.idl, CorDebug.hHeader: CorDebug.idl, CorDebug.h
Biblioteca: CorGuids.libLibrary: CorGuids.lib
.NET Framework versões:Disponível desde o 2.0Available since 2.0.NET Framework Versions: Disponível desde o 2.0Available since 2.0