Partager via


ICorDebugType::GetType Method

Gets a CorElementType Enumeration value that describes the native type of the common language runtime Type represented by this ICorDebugType Interface.

HRESULT GetType (
    [out] CorElementType     *ty
);

Parameters

Parameter Description

ty

[out] A pointer to a value of the CorElementType Enumeration enumeration that indicates the common language runtime Type that this ICorDebugType represents.

Remarks

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

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