ClipboardObject.IDataObject.EnumFormatEtc(DATADIR) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an object for enumerating the FORMATETC structures for a data object. These structures are used in calls to IDataObject.GetData(FORMATETC, STGMEDIUM) or IDataObject.SetData(FORMATETC, STGMEDIUM, Boolean).
virtual System::Runtime::InteropServices::ComTypes::IEnumFORMATETC ^ System.Runtime.InteropServices.ComTypes.IDataObject.EnumFormatEtc(System::Runtime::InteropServices::ComTypes::DATADIR direction) = System::Runtime::InteropServices::ComTypes::IDataObject::EnumFormatEtc;
System.Runtime.InteropServices.ComTypes.IEnumFORMATETC IDataObject.EnumFormatEtc (System.Runtime.InteropServices.ComTypes.DATADIR direction);
override this.System.Runtime.InteropServices.ComTypes.IDataObject.EnumFormatEtc : System.Runtime.InteropServices.ComTypes.DATADIR -> System.Runtime.InteropServices.ComTypes.IEnumFORMATETC
Function EnumFormatEtc (direction As DATADIR) As IEnumFORMATETC Implements IDataObject.EnumFormatEtc
Parameters
Returns
This method supports the standard return values E_INVALIDARG and E_OUTOFMEMORY, as well as the following: ValueDescriptionS_OKThe enumerator object was successfully created.E_NOTIMPLThe direction specified by the direction
parameter is not supported.OLE_S_USEREGRequests that OLE enumerate the formats from the registry.