SettableOleDataObject.EnumFormatEtc(UInt32, IEnumFORMATETC) 方法

定义

获取一个对象,该对象可用于枚举数据对象支持的格式。

public:
 virtual int EnumFormatEtc(System::UInt32 dwDirection, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IEnumFORMATETC ^ % ppenumFormatEtc);
public int EnumFormatEtc (uint dwDirection, out Microsoft.VisualStudio.OLE.Interop.IEnumFORMATETC ppenumFormatEtc);
abstract member EnumFormatEtc : uint32 * IEnumFORMATETC -> int
override this.EnumFormatEtc : uint32 * IEnumFORMATETC -> int
Public Function EnumFormatEtc (dwDirection As UInteger, ByRef ppenumFormatEtc As IEnumFORMATETC) As Integer

参数

dwDirection
UInt32

一个指向枚举的指针 DATADIR ,该枚举指定数据流的方向。

ppenumFormatEtc
IEnumFORMATETC

弄枚举器。

返回

Int32

如果该方法成功,则为 Microsoft.VisualStudio.VSConstants.S_OK; ; 否则为错误代码。

实现

适用于