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
Remarks
This method delegates the call to the [M:System.Windows.Forms.DataObject.GetFormats()] method of the DataObject class.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.