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 );
The new instance provides both the IDataObject and the Microsoft.Win32.Interop.IOleDataObject interfaces for the specified data.
DataObject Class | DataObject Members | System.WinForms Namespace | DataObject Constructor Overload List | GetData | SetData | GetDataPresent