إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
Gets the ID of the class, given the metadata token. This method is obsolete in .NET Framework version 2.0. Use ICorProfilerInfo2::GetClassFromTokenAndTypeArgs instead.
Syntax
HRESULT GetClassFromToken(
[in] ModuleID moduleId,
[in] mdTypeDef typeDef,
[out] ClassID *pClassId);
Parameters
moduleID
[in] The ID of the module that contains the class.
typeDef
[in] An mdTypeDef metadata token that references the class.
cTypeArgs
[out] A pointer to the class ID.
Remarks
This method is obsolete; instead, use ICorProfilerInfo2::GetClassFromTokenAndTypeArgs for all types.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: 1.0, 1.1