DATADIR Enum

Definition

Specifies the direction of the data flow in the dwDirection parameter of the EnumFormatEtc(DATADIR) method. This determines the formats that the resulting enumerator can enumerate.

public enum class DATADIR
public enum DATADIR
type DATADIR = 
Public Enum DATADIR
Inheritance

Fields

DATADIR_GET 1

Requests that EnumFormatEtc(DATADIR) supply an enumerator for the formats that can be specified in GetData(FORMATETC, STGMEDIUM).

DATADIR_SET 2

Requests that EnumFormatEtc(DATADIR) supply an enumerator for the formats that can be specified in SetData(FORMATETC, STGMEDIUM, Boolean).

Remarks

For more information, see DATADIR enumeration.

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.

Applies to