Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Gets the ID of the class, given the metadata token. This method is obsolete in the .NET Framework version 2.0. Use ICorProfilerInfo2::GetClassFromTokenAndTypeArgs Method instead.
HRESULT GetClassFromToken(
[in] ModuleID moduleId,
[in] mdTypeDef typeDef,
[out] ClassID *pClassId);
Parameters
| Parameter | Description |
|---|---|
moduleID |
The ID of the module that contains the class. |
typeDef |
An mdTypeDef metadata token that references the class. |
cTypeArgs |
A pointer to the class ID. |
Remarks
This method is obsolete; instead, use ICorProfilerInfo2::GetClassFromTokenAndTypeArgs Method for all types.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorProf.idl
Library: CorGuids.lib
.NET Framework Version: 1.0, 1.1