ICorDebugType2 Interface
Extends the ICorDebugType interface to retrieve the type identifier of a base type or complex (user-defined) type.
Methods
Method | Description |
---|---|
GetTypeID Method | Gets a COR_TYPEID for this type. |
Remarks
This interface is a logical extension of the ICorDebugType interface.
Note
This interface does not support being called remotely, either cross-machine or cross-process.
Example
The following code fragment illustrates the use of the ICorDebugType2::GetTypeID method.
// (error checking omitted for brevity)
// given an ICorDebugType *pType
ICorDebugType2 *pType2 = NULL;
pType->QueryInterface(IID_ICorDebugType2, &pType);
COR_TYPEID id;
pType2->GetTypeID(&id);
// now we can use existing APIs to get information about this COR_TYPEID
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.6.2
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
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