ClipboardObject.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 IDataObject.GetData(FORMATETC, STGMEDIUM) ou IDataObject.SetData(FORMATETC, STGMEDIUM, Boolean).

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

Parâmetros

direction
DATADIR

Um valor da DATADIR enumeração que especifica a direção dos dados.

Retornos

IEnumFORMATETC

Esse método dá suporte aos valores de retorno padrão E_INVALIDARG e E_OUTOFMEMORY, bem como ao seguinte: ValueDescriptionS_OKThe objeto enumerador foi criado com êxito. Não há suporte para a direção de E_NOTIMPLThe especificada pelo direction parâmetro. OLE_S_USEREGRequests que o OLE enumere os formatos do registro.

Implementações

Aplica-se a