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
Bendradarbiaukite su mumis dirbdami „GitHub“
Šio turinio šaltinį galima rasti „GitHub“, kur taip pat galite kurti ir peržiūrėti problemas bei teikti užklausas. Daugiau informacijos žr. mūsų bendraautorių vadove.
Atsiliepimai
https://aka.ms/ContentUserFeedback.
Jau greitai: 2024 m. palaipsniui atsisakysime „GitHub“ problemų, kaip turiniui taikomo atsiliepimų mechanizmo, ir pakeisime jį nauja atsiliepimų sistema. Daugiau informacijos žr.Pateikti ir peržiūrėti atsiliepimą, skirtą