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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for