Freigeben über


OleDataObject Constructors

Definition

Overloads

OleDataObject()

Initializes a new instance of OleDataObject.

OleDataObject(IDataObject)

Initializes a new instance of OleDataObject for the specified object implementing IDataObject.

OleDataObject(IDataObject)

Initializes a new instance of OleDataObject for the specified IDataObject.

OleDataObject(IDataObject)

Initializes a new instance of OleDataObject for the specified IDataObject.

OleDataObject()

Initializes a new instance of OleDataObject.

public:
 OleDataObject();
public:
 OleDataObject();
 OleDataObject();
public OleDataObject ();
Public Sub New ()

Applies to

OleDataObject(IDataObject)

Initializes a new instance of OleDataObject for the specified object implementing IDataObject.

public:
 OleDataObject(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ oleData);
public:
 OleDataObject(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ oleData);
 OleDataObject(Microsoft::VisualStudio::OLE::Interop::IDataObject const & oleData);
public OleDataObject (Microsoft.VisualStudio.OLE.Interop.IDataObject oleData);
new Microsoft.VisualStudio.Shell.OleDataObject : Microsoft.VisualStudio.OLE.Interop.IDataObject -> Microsoft.VisualStudio.Shell.OleDataObject
Public Sub New (oleData As IDataObject)

Parameters

oleData
IDataObject

The underlying IDataObject.

Applies to

OleDataObject(IDataObject)

Initializes a new instance of OleDataObject for the specified IDataObject.

public:
 OleDataObject(System::Runtime::InteropServices::ComTypes::IDataObject ^ comData);
public OleDataObject (System.Runtime.InteropServices.ComTypes.IDataObject comData);
new Microsoft.VisualStudio.Shell.OleDataObject : System.Runtime.InteropServices.ComTypes.IDataObject -> Microsoft.VisualStudio.Shell.OleDataObject
Public Sub New (comData As IDataObject)

Parameters

comData
IDataObject

The underlying IDataObject.

Applies to

OleDataObject(IDataObject)

Initializes a new instance of OleDataObject for the specified IDataObject.

public:
 OleDataObject(System::Windows::Forms::IDataObject ^ winData);
public OleDataObject (System.Windows.Forms.IDataObject winData);
new Microsoft.VisualStudio.Shell.OleDataObject : System.Windows.Forms.IDataObject -> Microsoft.VisualStudio.Shell.OleDataObject
Public Sub New (winData As IDataObject)

Parameters

winData
IDataObject

The underlying IDataObject.

Applies to