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 GetData(FORMATETC, STGMEDIUM) or SetData(FORMATETC, STGMEDIUM, Boolean).
public:
System::Runtime::InteropServices::ComTypes::IEnumFORMATETC ^ EnumFormatEtc(System::Runtime::InteropServices::ComTypes::DATADIR direction);
public System.Runtime.InteropServices.ComTypes.IEnumFORMATETC EnumFormatEtc (System.Runtime.InteropServices.ComTypes.DATADIR direction);
abstract member EnumFormatEtc : System.Runtime.InteropServices.ComTypes.DATADIR -> System.Runtime.InteropServices.ComTypes.IEnumFORMATETC
Public Function EnumFormatEtc (direction As DATADIR) As IEnumFORMATETC
Parameters
Returns
This method supports the standard return values E_INVALIDARG and E_OUTOFMEMORY, as well as the following:
Value | Description |
---|---|
S_OK | The enumerator object was successfully created. |
E_NOTIMPL | The direction specified by the direction parameter is not supported.
|
OLE_S_USEREG | Requests that OLE enumerate the formats from the registry. |
Remarks
For more information, see IDataObject::EnumFormatEtc method.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.