Linguagem

DataObject.IDataObject.EnumFormatEtc(DATADIR) Método

Definição

Cria um objeto para enumerar as FORMATETC estruturas de um objeto de dados. Estas estruturas são usadas em chamadas para GetData(FORMATETC, STGMEDIUM) ou 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

Um dos DATADIR valores que especifica a direção dos dados.

Devoluções

Este método suporta os valores padrão de retorno E_INVALIDARG e E_OUTOFMEMORY, bem como os seguintes:

Valor Descrição
S_OK O objeto enumerador foi criado com sucesso.
E_NOTIMPL A direção especificada pelo dwDirection parâmetro não é suportada.
OLE_S_USEREG Solicita que o OLE enumere os formatos do registo.

Implementações

Atributos

Observações

Este membro é uma implementação explícita de membro de interface. Só pode ser usado quando a DataObject instância é transmitida para uma IDataObject interface.

Aplica-se a