Share via


ICorDebugType::GetBase Method

Gets an interface pointer to an ICorDebugType that represents the base type, if one exists, of the type represented by this ICorDebugType.

HRESULT GetBase (
    [out] ICorDebugType   **pBase
);

Parameters

  • pBase
    [out] A pointer to the address of an ICorDebugType object that represents the base type.

Remarks

Looking up the base type for a type is useful to implement common debugger functionality, such as printing out all the fields of an object or its parent classes.

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