DataObject.IDataObject.EnumFormatEtc(DATADIR) 메서드

정의

데이터 개체의 FORMATETC 구조체를 열거하기 위한 개체를 만듭니다. 이러한 구조체는 GetData(FORMATETC, STGMEDIUM) 또는 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

매개 변수

dwDirection
DATADIR

데이터의 방향을 지정하는 DATADIR 값 중 하나입니다.

반환

IEnumFORMATETC

이 메서드는 표준 반환 값 E_INVALIDARG 및 E_OUTOFMEMORY와 함께 다음 값을 지원합니다.

설명
S_OK 열거자 개체를 성공적으로 만든 경우
E_NOTIMPL direction 매개 변수로 지정된 방향이 지원되지 않는 경우
OLE_S_USEREG OLE에서 레지스트리의 형식을 열거하도록 요청할 경우

구현

설명

이 멤버는 명시적 인터페이스 멤버 구현이며, DataObjectIDataObject 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.

적용 대상