Share via


ICorDebugType::GetClass Method

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

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

Parameters

Parameter Description

ppClass

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

Remarks

GetClass can be called only under certain conditions. Call ICorDebugType::GetType Method prior to calling GetClass. If ICorDebugType::GetType Method returns a CorElementType Enumeration 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugType Interface