SettableOleDataObject::EnumFormatEtc Method (UInt32, IEnumFORMATETC^)

 

Gets an object that allows you to enumerate the formats supported by the data object.

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

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

Parameters

dwDirection
Type: System::UInt32

A pointer to the DATADIR enumeration, which specifies the direction of the data flow.

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

[out] The enumerator.

Return Value

Type: System::Int32

If the method succeeds, F:Microsoft.VisualStudio.VSConstants.S_OK; otherwise, an error code.

Return to top
Show: