IDataObject.EnumFormatEtc(DATADIR) Metodo

Definizione

Crea un oggetto per l'enumerazione delle strutture FORMATETC per un oggetto dati. Queste strutture sono utilizzate nelle chiamate al metodo GetData(FORMATETC, STGMEDIUM) o 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

Parametri

direction
DATADIR

Uno dei valori di DATADIR che specifica la direzione dei dati.

Restituisce

IEnumFORMATETC

Questo metodo supporta i valori restituiti standard E_INVALIDARG e E_OUTOFMEMORY, nonché quanto riportato di seguito:

Valore Descrizione
S_OK L'oggetto enumeratore è stato creato correttamente.
E_NOTIMPL La direzione specificata dal parametro direction non è supportata.
OLE_S_USEREG Richiede l'enumerazione OLE dei formati dal Registro di sistema.

Commenti

Per altre informazioni, vedere Metodo IDataObject::EnumFormatEtc.

Si applica a