Table of Contents

Method HasFormat

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

HasFormat(ClipboardDataFormatId)

Indicates whether there is data on the Clipboard that is in the specified format.

bool HasFormat(ClipboardDataFormatId format)

Parameters

format ClipboardDataFormatId

The format of the data to look for.

Returns

bool

HasFormat(string)

Indicates whether there is data on the Clipboard that is in the specified format.

bool HasFormat(string format)

Parameters

format string

The format of the data to look for.

Returns

bool

Remarks

This method is different from ContainsData(string) as it doesn't get data from the clipboard, it only checks for the format. This method works faster than ContainsData(string).