Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Runtime.​InteropServices.​HandleRef

Assembly: System.Runtime.InteropServices

Wraps a managed object holding a handle to a resource that is passed to unmanaged code using platform invoke.

Properties

public nint
Handle
Gets the handle to a resource.
public object
Wrapper
Gets the object holding the handle to a resource.

Methods

public bool
Equals​(object obj)
Inherited from ValueType
public int
GetHashCode​()
Inherited from ValueType
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object