DataObject.IDataObject.EnumFormatEtc(DATADIR) Método

Definición

Crea un objeto para enumerar las FORMATETC estructuras de un objeto de datos. Estas estructuras se usan en llamadas a 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.Security.SecurityCritical]
System.Runtime.InteropServices.ComTypes.IEnumFORMATETC IDataObject.EnumFormatEtc(System.Runtime.InteropServices.ComTypes.DATADIR dwDirection);
System.Runtime.InteropServices.ComTypes.IEnumFORMATETC IDataObject.EnumFormatEtc(System.Runtime.InteropServices.ComTypes.DATADIR dwDirection);
[<System.Security.SecurityCritical>]
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
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 DATADIR valores 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 lo siguiente:

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

Implementaciones

Atributos

Comentarios

Este miembro es una implementación explícita de miembro de interfaz. Solo se puede usar cuando la DataObject instancia se convierte en una IDataObject interfaz.

Se aplica a