OleDataObject::IDataObject::EnumFormatEtc Method (UInt32, IEnumFORMATETC^)

 

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

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int EnumFormatEtc(
	unsigned int dwDirection,
	[OutAttribute] IEnumFORMATETC^% ppenumFormatEtc
) sealed = IDataObject::EnumFormatEtc

Parameters

dwDirection
Type: System::UInt32

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

ppenumFormatEtc
Type: Microsoft.VisualStudio.OLE.Interop::IEnumFORMATETC^

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

Return Value

Type: System::Int32

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

Return to top
Show: