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
Remarks
This method delegates the call to the GetFormats method of the DataObject class.
.NET Framework Security
- 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.