Uredi

Deli z drugimi prek


ICorProfilerInfo13::GetObjectIDFromHandle method

Returns the object wrapped by a specified handle.

Syntax

    HRESULT GetObjectIDFromHandle(
                [in] ObjectHandleID handle,
                [out] ObjectID*     pObject);

Parameters

handle
[in] The handle wrapping an object.

pObject
[out] A caller-provided pointer that will point to the object wrapped by the specified handle.

Remarks

If *pObject is null, the object wrapped by this handle is no longer alive and has been collected.

Requirements

Platforms: See .NET supported operating systems.

Header: CorProf.idl, CorProf.h

.NET Versions: Available since .NET 7.0

See also