NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataObject Constructor (IOleDataObject)

Initializes a new instance of the DataObject class, containing the specified Microsoft.Win32.Interop.IOleDataObject.

[Visual Basic]
Overloads Public Sub New( _
   ByVal data As IOleDataObject _
)
[C#]
public DataObject(
   IOleDataObject data
);
[C++]
public: DataObject(
   IOleDataObject* data
);
[JScript]
public function DataObject(
   data : IOleDataObject
);

Parameters

data
The Microsoft.Win32.Interop.IOleDataObject to store.

Remarks

The new instance provides both the IDataObject and the Microsoft.Win32.Interop.IOleDataObject interfaces for the specified data.

See Also

DataObject Class | DataObject Members | System.WinForms Namespace | DataObject Constructor Overload List | GetData | SetData | GetDataPresent