Share via


COleDataObject::BeginEnumFormats

Call this function to prepare for subsequent calls to GetNextFormat for retrieving a list of data formats from the item.

void BeginEnumFormats( );

Remarks

After a call to BeginEnumFormats, the position of the first format supported by this data object is stored. Successive calls to GetNextFormat will enumerate the list of available formats in the data object.

To check on the availability of data in a given format, use COleDataObject::IsDataAvailable.

For more information, see IDataObject::EnumFormatEtc in the Windows SDK.

Requirements

Header: afxole.h

See Also

Reference

COleDataObject Class

Hierarchy Chart

COleDataObject::GetNextFormat

COleDataObject::IsDataAvailable