Partager via


ClipboardObject.GetFormats Method

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

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overrides Function GetFormats As String()
public override string[] GetFormats()
public:
virtual array<String^>^ GetFormats() override
abstract GetFormats : unit -> string[] 
override GetFormats : unit -> string[] 
public override function GetFormats() : String[]

Return Value

Type: array<System.String[]
An array of string values representing all formats that are supported for the data stored in the clipboard object.

Implements

IDataObject.GetFormats()

Remarks

This method delegates the call to the GetFormats method of the DataObject class.

.NET Framework Security

See Also

Reference

ClipboardObject Class

GetFormats Overload

Microsoft.VisualStudio.Data.Framework Namespace