次の方法で共有


ClipboardObject.GetFormats Method

Definition

Overloads

GetFormats(Boolean)

Retrieves a list of all formats that are supported for the data stored in the clipboard object, using an automatic conversion parameter to determine whether to retrieve only native data formats or all formats that the data can be converted to.

GetFormats()

Retrieves a list of all formats that are supported for the data stored in the clipboard object.

GetFormats(Boolean)

Retrieves a list of all formats that are supported for the data stored in the clipboard object, using an automatic conversion parameter to determine whether to retrieve only native data formats or all formats that the data can be converted to.

public:
 override cli::array <System::String ^> ^ GetFormats(bool autoConvert);
public override string[] GetFormats (bool autoConvert);
override this.GetFormats : bool -> string[]
Public Overrides Function GetFormats (autoConvert As Boolean) As String()

Parameters

autoConvert
Boolean

Specifies whether to retrieve all formats that the data can be converted to or is associated with (true), or to retrieve only the native data formats (false).

Returns

String[]

An array of string values representing all formats that are supported for the data stored in the clipboard object.

Applies to

GetFormats()

Retrieves a list of all formats that are supported for the data stored in the clipboard object.

public:
 override cli::array <System::String ^> ^ GetFormats();
public override string[] GetFormats ();
override this.GetFormats : unit -> string[]
Public Overrides Function GetFormats () As String()

Returns

String[]

An array of string values representing all formats that are supported for the data stored in the clipboard object.

Applies to