Table of Contents

Delegate NativeTry<TValue>

Namespace
Pamoja.Native.Interop
Assembly
Pamoja.Native.dll

A native call that reports whether it produced a value, and writes it.

public delegate bool NativeTry<TValue>(nint handle, out TValue value)

Parameters

handle nint

The native handle to act on.

value TValue

The value produced, when the call returns true.

Returns

bool

true when a value was produced.

Type Parameters

TValue

The value the call may produce.