ICorDebugType::GetClass Method

Gets an interface pointer to an ICorDebugClass that represents the uninstantiated generic type.

Syntax

HRESULT GetClass (  
    [out] ICorDebugClass   **ppClass  
);  

Parameters

ppClass
[out] A pointer to the address of an ICorDebugClass interface that represents the uninstantiated generic type.

Remarks

GetClass can be called only under certain conditions. Call ICorDebugType::GetType before calling GetClass. If ICorDebugType::GetType returns a CorElementType value that is ELEMENT_TYPE_CLASS or ELEMENT_TYPE_VALUETYPE, GetClass can be called to get the uninstantiated type for a generic type.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0