Share via


ICorProfilerInfo::GetClassFromObject Method

Gets the ClassID of an object, given its ObjectID.

HRESULT GetClassFromObject(
    [in]  ObjectID objectId,
    [out] ClassID *pClassId);

Parameters

  • objectId
    [in] The ID of the object for which to get the ClassID.

  • pClassId
    [out] A pointer to the returned ClassID.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICorProfilerInfo Interface