ICorDebugType2:: GetTypeID (método)ICorDebugType2::GetTypeID Method
Obtiene un COR_TYPEID para este tipo.Gets a COR_TYPEID for this type.
SintaxisSyntax
HRESULT GetTypeID(
([out] COR_TYPEID *id
);
ParámetrosParameters
id
enuncia Puntero a COR_TYPEID para esta ICorDebugType.[out] A pointer to the COR_TYPEID for this ICorDebugType.
Valor devueltoReturn Value
El valor devuelto es S_OK
si se realiza correctamente, o un código de error HRESULT
en caso contrario.The return value is S_OK
on success, or a failure HRESULT
code on failure. Entre los códigos de HRESULT
se incluyen los siguientes:The HRESULT
codes include the following:
Código devueltoReturn code | DescripciónDescription |
---|---|
S_OK |
El método se realizó correctamente.Method succeeded. El método ha recuperado un COR_TYPEIDválido.The method has retrieved a valid COR_TYPEID. |
CORDBG_E_CLASS_NOT_LOADED |
No se ha cargado el tipo.The type has not been loaded. |
CORDBG_E_UNSUPPORTED |
No se admite el tipo.The type is not supported. |
ComentariosRemarks
Este método proporciona una asignación de la ICorDebugType, que representa un tipo que se puede o no haber cargado en el tiempo de ejecución, en un COR_TYPEID, que actúa como un identificador opaco que identifica un tipo cargado en el tiempo de ejecución.This method provides a mapping from the ICorDebugType, which represents a type that may or may not have been loaded into the runtime, to a COR_TYPEID, which serves as an opaque handle that identifies a type loaded into the runtime.
Cuando el tipo que representa la ICorDebugType no se ha cargado todavía, este método devuelve CORDBG_E_CLASS_NOT_LOADED
.When the type that the ICorDebugType represents has not yet been loaded, this method returns CORDBG_E_CLASS_NOT_LOADED
. Si no se admite el tipo, devuelve CORDBG_E_UNSUPPORTED
.If the type is not supported, it returns CORDBG_E_UNSUPPORTED
.
RequisitosRequirements
Plataformas: Vea Requisitos de sistema.Platforms: See System Requirements.
Encabezado: CorDebug.idl, CorDebug.hHeader: CorDebug.idl, CorDebug.h
Biblioteca: CorGuids.libLibrary: CorGuids.lib
Versiones de .NET Framework: Disponible desde la versión 4.6.2Available since 4.6.2.NET Framework Versions: Disponible desde la versión 4.6.2Available since 4.6.2
Vea tambiénSee also
Comentarios
Cargando comentarios...