ClipboardObject.SetData Method (Object)
Adds data to the clipboard object.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Overrides Sub SetData ( _
data As Object _
)
public override void SetData(
Object data
)
public:
virtual void SetData(
Object^ data
) override
abstract SetData :
data:Object -> unit
override SetData :
data:Object -> unit
public override function SetData(
data : Object
)
Parameters
data
Type: System.ObjectThe data to store.
Implements
Remarks
This method delegates the call to the SetData 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.