Delegate NativeTry<TValue>
A native call that reports whether it produced a value, and writes it.
public delegate bool NativeTry<TValue>(nint handle, out TValue value)
Parameters
handlenintThe native handle to act on.
valueTValueThe value produced, when the call returns
true.
Returns
- bool
truewhen a value was produced.
Type Parameters
TValueThe value the call may produce.