ICorDebugType::GetType Method
Gets a CorElementType value that describes the native type of the common language runtime (CLR) Type represented by this ICorDebugType.
Syntax
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: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for