Specifies the direction of the data flow in the dwDirection parameter of the IDataObject.EnumFormatEtc(DATADIR) method. This determines the formats that the resulting enumerator can enumerate.
For more information about DATADIR, 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.
Member Name | Description |
---|---|
DATADIR_GET |
Requests that IDataObject.EnumFormatEtc(DATADIR) supply an enumerator for the formats that can be specified in IDataObject.GetData(FORMATETC@, STGMEDIUM@). |
DATADIR_SET |
Requests that IDataObject.EnumFormatEtc(DATADIR) supply an enumerator for the formats that can be specified in IDataObject.SetData(FORMATETC@, STGMEDIUM@, bool). |