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

'宣言
Public Overrides Function GetData ( _
    format As String _
) As Object
'使用
Dim instance As ClipboardObject
Dim format As String
Dim returnValue As Object

returnValue = instance.GetData(format)
public override Object GetData(
    string format
)
public:
virtual Object^ GetData(
    String^ format
) override
public override function GetData(
    format : String
) : Object

Parameters

Return Value

Type: System.Object

The data stored in the clipboard object in the specified format.

Implements

IDataObject.GetData(String)

Remarks

This method delegates the call to the GetData method of the DataObject class.

Permissions

See Also

Reference

ClipboardObject Class

ClipboardObject Members

GetData Overload

Microsoft.VisualStudio.Data.Framework Namespace