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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.