Compartilhar via


ICorDebugType::GetType Method

Gets a CorElementType value that describes the native type of the common language runtime (CLR) Type represented by this ICorDebugType.

HRESULT GetType (
    [out] CorElementType   *ty
);

Parameters

  • ty
    [out] A pointer to a value of the CorElementType enumeration that indicates the CLR Type that this ICorDebugType represents.

Remarks

If the value of ty is either ELEMENT_TYPE_CLASS or ELEMENT_TYPE_VALUETYPE, the ICorDebugType::GetClass method may be called to get the uninstantiated type for a generic type; otherwise, do not call ICorDebugType::GetClass.

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