ICorDebugValue::GetType Method
Gets the primitive type of this "ICorDebugValue" object.
Syntax
HRESULT GetType (
[out] CorElementType *pType
);
Parameters
pType
[out] A pointer to a value of the "CorElementType" enumeration that indicates the value's type.
Remarks
If the object is a complex run-time type, that type may be examined through the appropriate subclasses of the ICorDebugValue
interface. For example, "ICorDebugObjectValue", which inherits from ICorDebugValue
, represents a complex type.
The GetType
and ICorDebugObjectValue::GetClass methods each return information about the type of a value. They are both superseded by the generics-aware ICorDebugValue2::GetExactType method.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 1.0
See also
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ