SystemClipboardRepresentation Class

A system clipboard representation (https://w3c.github.io/clipboard-apis/#system-clipboard-representation): a format and its bytes.

public sealed class SystemClipboardRepresentation

Constructors

NameDescription
SystemClipboardRepresentation(string, ReadOnlyMemory<byte>)Creates a representation with the given format name and data.

SystemClipboardRepresentation(string, ReadOnlyMemory<byte>)

SystemClipboard.cs

Creates a representation with the given format name and data.

public SystemClipboardRepresentation(string name, ReadOnlyMemory<byte> data)

Parameters

name string
data ReadOnlyMemory<byte>

Properties

NameDescription
DataGets the data.
NameGets the name of the format (see SystemClipboard).

Gets the data.

public ReadOnlyMemory<byte> Data { get; }

Property value

ReadOnlyMemory<byte>

Gets the name of the format (see SystemClipboard).

public string Name { get; }

Property value

string