ClipboardObject.GetFormats Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
An array of string values representing all formats that are supported for the data stored in the clipboard object.