Delen 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: See .NET Framework System Requirements.

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorProfilerInfo Interface