Table of Contents

Method GetData

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetData(string)

Retrieves data from the Clipboard in the specified format.

public static object? GetData(string format)

Parameters

format string

The format of the data to retrieve. See DataFormats for predefined formats.

Returns

object

An Object representing the Clipboard data or null if the Clipboard does not contain any data that is in the specified format or can be converted to that format.