Share via


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.Object

    The 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

See Also

Reference

ClipboardObject Class

ClipboardObject Overload

Microsoft.VisualStudio.Data.Framework Namespace