Delen via


ClipboardObject.SetData Method (String, Object)

Adds data to 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 Sub SetData ( _
    format As String, _
    data As Object _
)
public override void SetData(
    string format,
    Object data
)
public:
virtual void SetData(
    String^ format, 
    Object^ data
) override
abstract SetData : 
        format:string * 
        data:Object -> unit  
override SetData : 
        format:string * 
        data:Object -> unit
public override function SetData(
    format : String, 
    data : Object
)

Parameters

Implements

IDataObject.SetData(String, Object)

Remarks

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

.NET Framework Security

See Also

Reference

ClipboardObject Class

SetData Overload

Microsoft.VisualStudio.Data.Framework Namespace