ICorDebugProcess5::GetTypeForTypeID Method

Converts a type identifier to an ICorDebugType value.

Syntax

HRESULT GetTypeForTypeID(  
    [in] COR_TYPEID id, [  
    out] ICorDebugType **ppType  
);  

Parameters

id
[in] The type identifier.

ppType
[out] A pointer to the address of an ICorDebugType object.

Remarks

In some cases, methods that return a type identifier may return a null COR_TYPEID value. If this value is passed as the id argument, the GetTypeForTypeID method will fail and return E_FAIL.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5

See also