TrySetData(String, ReadOnlySpan) Method

Definition

Assembly XenoAtom.Terminal.dll

Tries to set clipboard data for the specified format (best effort).

public bool TrySetData([Nullable((byte)1)] string format, ReadOnlySpan<byte> data)

Parameters

format
String

The format identifier. Use TerminalClipboardFormats for well-known values.

data
ReadOnlySpan<Byte>

The exact bytes to store for the requested format.

Returns