Share 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: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorDebugType Interface