System.Runtime.InteropServices.ComTypes.DATADIR Enumeration

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.

Syntax

public enum DATADIR

Remarks

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.

Members

Member NameDescription
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).

Requirements

Namespace: System.Runtime.InteropServices.ComTypes
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0