ClipboardObject Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ClipboardObject() |
Initializes a new instance of the ClipboardObject class based on the standard DataObject class. |
ClipboardObject(Object) |
Initializes a new instance of the ClipboardObject class containing the specified data, or wraps an existing instance of the class. |
ClipboardObject(String, Object) |
Initializes a new instance of the ClipboardObject class containing the specified data in the specified format. |
ClipboardObject()
Initializes a new instance of the ClipboardObject class based on the standard DataObject class.
public:
ClipboardObject();
public ClipboardObject ();
Public Sub New ()
Applies to
ClipboardObject(Object)
Initializes a new instance of the ClipboardObject class containing the specified data, or wraps an existing instance of the class.
public:
ClipboardObject(System::Object ^ data);
public ClipboardObject (object data);
new Microsoft.VisualStudio.Data.Framework.ClipboardObject : obj -> Microsoft.VisualStudio.Data.Framework.ClipboardObject
Public Sub New (data As Object)
Parameters
- data
- Object
The data to be contained in a new clipboard object, or an existing clipboard object.
Applies to
ClipboardObject(String, Object)
Initializes a new instance of the ClipboardObject class containing the specified data in the specified format.
public:
ClipboardObject(System::String ^ format, System::Object ^ data);
public ClipboardObject (string format, object data);
new Microsoft.VisualStudio.Data.Framework.ClipboardObject : string * obj -> Microsoft.VisualStudio.Data.Framework.ClipboardObject
Public Sub New (format As String, data As Object)
Parameters
- format
- String
The class type associated with the data. See DataFormats for the predefined formats.
- data
- Object
The data to store.