Provides the managed definition of the IDataObject interface.
Assembly: System (in System.dll)
|DAdvise(FORMATETC, ADVF, IAdviseSink, Int32)|
Creates a connection between a data object and an advisory sink. This method is called by an object that supports an advisory sink and enables the advisory sink to be notified of changes in the object's data.
Destroys a notification connection that had been previously established.
Creates an object that can be used to enumerate the current advisory connections.
Obtains data from a source data object. This method, which is called by a data consumer, differs from the GetData method in that the caller must allocate and free the specified storage medium.
|SetData(FORMATETC, STGMEDIUM, Boolean)|
Transfers data to the object that implements this method. This method is called by an object that contains a data source.
For more information about the IDataObject interface, see the MSDN Library.
The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.
Available since 2.0