Compartilhar via


OleDataObject.IDataObject.EnumFormatEtc(UInt32, IEnumFORMATETC) Method

Definition

Creates an enumerator to iterate through the FORMATETC structures supported by the data object.

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

Parameters

dwDirection
UInt32

Direction of the data through a value from the enumeration DATADIR.

ppenumFormatEtc
IEnumFORMATETC

Address of IEnumFORMATETC* pointer variable that receives the interface pointer to the new enumerator object.

Returns

If the method succeeded, S_OK, otherwise an error code.

Implements

Applies to