ClipboardObject.GetData Method (String)
Retrieves the data stored in the clipboard object in the specified format.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Overrides Function GetData ( _
format As String _
) As Object
public override Object GetData(
string format
)
public:
virtual Object^ GetData(
String^ format
) override
abstract GetData :
format:string -> Object
override GetData :
format:string -> Object
public override function GetData(
format : String
) : Object
Parameters
format
Type: System.StringThe class type associated with the data. See DataFormats for the predefined formats.
Return Value
Type: System.Object
The data stored in the clipboard object in the specified format.
Implements
Remarks
This method delegates the call to the GetData 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.