DATADIR DATADIR DATADIR DATADIR Enum

定义

EnumFormatEtc(DATADIR) 方法的 dwDirection 参数中指定数据流的方向。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
继承

字段

DATADIR_GET DATADIR_GET DATADIR_GET DATADIR_GET 1

请求 EnumFormatEtc(DATADIR) 为可在 GetData(FORMATETC, STGMEDIUM) 中指定的格式提供枚举数。Requests that EnumFormatEtc(DATADIR) supply an enumerator for the formats that can be specified in GetData(FORMATETC, STGMEDIUM).

DATADIR_SET DATADIR_SET DATADIR_SET DATADIR_SET 2

请求 EnumFormatEtc(DATADIR) 为可在 SetData(FORMATETC, STGMEDIUM, Boolean) 中指定的格式提供枚举数。Requests that EnumFormatEtc(DATADIR) supply an enumerator for the formats that can be specified in SetData(FORMATETC, STGMEDIUM, Boolean).

注解

有关详细信息DATADIR,请参阅 MSDN 库。For more information about DATADIR, see the MSDN Library.

在本机代码中的 COM 方法将返回的 HRESULT 时,公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

适用于