Delen via


ClipboardObject.GetData Method (Type)

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 Type _
) As Object
public override Object GetData(
    Type format
)
public:
virtual Object^ GetData(
    Type^ format
) override
abstract GetData : 
        format:Type -> Object  
override GetData : 
        format:Type -> Object
public override function GetData(
    format : Type
) : Object

Parameters

  • format
    Type: System.Type

    The class type associated with the data.

Return Value

Type: System.Object
The data stored in the clipboard object in the specified format.

Implements

IDataObject.GetData(Type)

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