Partager via


ICorDebugType::GetClass Method

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

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICorDebugType Interface