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
'宣言
Public Sub New ( _
data As Object _
)
'使用
Dim data As Object
Dim instance As New ClipboardObject(data)
public ClipboardObject(
Object data
)
public:
ClipboardObject(
Object^ data
)
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.
Permissions
- 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.