Share via


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

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.

.NET Framework Security

See Also

Reference

ClipboardObject Class

GetData Overload

Microsoft.VisualStudio.Data.Framework Namespace