ClipboardObject.IDataObject.EnumFormatEtc(DATADIR) Methode

Definition

Erstellt ein Objekt für das Auflisten der FORMATETC-Strukturen für ein Datenobjekt. Diese Strukturen werden in Aufrufen von IDataObject.GetData(FORMATETC, STGMEDIUM) oder IDataObject.SetData(FORMATETC, STGMEDIUM, Boolean) verwendet.

 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

Parameter

direction
DATADIR

Ein Wert aus der- DATADIR Enumeration, der die Richtung der Daten angibt.

Gibt zurück

IEnumFORMATETC

Diese Methode unterstützt die Standard Rückgabewerte E_INVALIDARG und E_OUTOFMEMORY sowie die folgenden: ValueDescriptionS_OKThe Enumeratorobjekt wurde erfolgreich erstellt. E_NOTIMPLThe durch den-Parameter angegebene Richtung direction wird nicht unterstützt. OLE_S_USEREGRequests, dass OLE die Formate aus der Registrierung aufzählt.

Implementiert

Gilt für