DataObject.IDataObject.EnumFormatEtc(DATADIR) Yöntem

Tanım

Bir veri nesnesinin yapılarını numaralandırmak FORMATETC için bir nesne oluşturur. Bu yapılar veya SetData(FORMATETC, STGMEDIUM, Boolean)çağrılarında GetData(FORMATETC, STGMEDIUM) kullanılır.

 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

Parametreler

dwDirection
DATADIR

DATADIR Verilerin yönünü belirten değerlerden biri.

Döndürülenler

IEnumFORMATETC

Bu yöntem, E_INVALIDARG ve E_OUTOFMEMORY standart dönüş değerlerini ve ayrıca aşağıdakileri destekler:

Değer Açıklama
S_OK Numaralandırıcı nesnesi başarıyla oluşturuldu.
E_NOTIMPL parametresi tarafından direction belirtilen yön desteklenmiyor.
OLE_S_USEREG OLE'nin kayıt defterinden biçimleri numaralandırmasını istemektedir.

Uygulamalar

Açıklamalar

Bu üye, açık bir arabirim üyesi uygulamasıdır. Yalnızca bir arabirime DataObject IDataObject yayınlandığında kullanılabilir.

Şunlara uygulanır