ClipboardObject Constructor (Object)
Initializes a new instance of the ClipboardObject class containing the specified data, or wraps an existing instance of the class.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
data As Object _
)
public ClipboardObject(
Object data
)
public:
ClipboardObject(
Object^ data
)
new :
data:Object -> ClipboardObject
public function ClipboardObject(
data : Object
)
Parameters
data
Type: System.ObjectThe data to be contained in a new clipboard object, or an existing clipboard object.
Remarks
If the specified data is already a clipboard object, it will be wrapped. Otherwise, a new clipboard object is created that contains the data.
.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.