DataObject.IDataObject.EnumFormatEtc(DATADIR) Método

Definición

Crea un objeto para enumerar las estructuras FORMATETC para un objeto de datos. Estas estructuras se utilizan en llamadas a los métodos GetData(FORMATETC, STGMEDIUM) o SetData(FORMATETC, STGMEDIUM, Boolean).

 virtual System::Runtime::InteropServices::ComTypes::IEnumFORMATETC ^ System.Runtime.InteropServices.ComTypes.IDataObject.EnumFormatEtc(System::Runtime::InteropServices::ComTypes::DATADIR dwDirection) = System::Runtime::InteropServices::ComTypes::IDataObject::EnumFormatEtc;
System.Runtime.InteropServices.ComTypes.IEnumFORMATETC IDataObject.EnumFormatEtc (System.Runtime.InteropServices.ComTypes.DATADIR dwDirection);
abstract member System.Runtime.InteropServices.ComTypes.IDataObject.EnumFormatEtc : System.Runtime.InteropServices.ComTypes.DATADIR -> System.Runtime.InteropServices.ComTypes.IEnumFORMATETC
override this.System.Runtime.InteropServices.ComTypes.IDataObject.EnumFormatEtc : System.Runtime.InteropServices.ComTypes.DATADIR -> System.Runtime.InteropServices.ComTypes.IEnumFORMATETC
Function EnumFormatEtc (dwDirection As DATADIR) As IEnumFORMATETC Implements IDataObject.EnumFormatEtc

Parámetros

dwDirection
DATADIR

Uno de los valores de DATADIR que especifica la dirección de los datos.

Devoluciones

Este método admite los valores devueltos estándar E_INVALIDARG y E_OUTOFMEMORY, así como los valores siguientes:

Valor Descripción
S_OK El objeto de enumerador se ha creado correctamente.
E_NOTIMPL No se admite la dirección especificada por el parámetro direction.
OLE_S_USEREG Solicita que OLE enumere los formatos del Registro.

Implementaciones

Comentarios

Este miembro es una implementación explícita de un miembro de interfaz. Sólo se puede usar cuando DataObject se convierte en una interfaz IDataObject.

Se aplica a