Share 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()
'Usage
Dim instance As ClipboardObject 
Dim returnValue As String()

returnValue = instance.GetFormats()
public override string[] GetFormats()
public:
virtual array<String^>^ GetFormats() override
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

ClipboardObject Members

GetFormats Overload

Microsoft.VisualStudio.Data.Framework Namespace