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

'宣言
Public Overrides Function GetFormats As String()
'使用
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: []

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 [M:System.Windows.Forms.DataObject.GetFormats()] method of the DataObject class.

Permissions

See Also

Reference

ClipboardObject Class

ClipboardObject Members

GetFormats Overload

Microsoft.VisualStudio.Data.Framework Namespace