DataObject.IDataObject.EnumFormatEtc(DATADIR) Método

Definição

Cria um objeto para enumerar as estruturas FORMATETC de um objeto de dados. Essas estruturas são usadas em chamadas a 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.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

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

Retornos

IEnumFORMATETC

Este método é compatível com os valores retornados padrão E_INVALIDARG e E_OUTOFMEMORY e também com os seguintes:

Valor Descrição
S_OK O objeto de enumerador foi criado com êxito.
E_NOTIMPL A direção especificada pelo parâmetro direction não é compatível.
OLE_S_USEREG Solicita que a OLE enumere os formatos do registro.

Implementações

Comentários

Este membro é uma implementação do membro de interface explícita. Ele só pode ser usado quando a DataObject conversão é convertida em uma IDataObject interface.

Aplica-se a