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.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

매개 변수

dwDirection
DATADIR

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

반품

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

설명
S_ok 열거자 개체를 만들었습니다.
E_notimpl 매개 변수에 지정된 dwDirection 방향은 지원되지 않습니다.
OLE_S_USEREG OLE가 레지스트리의 형식을 열거할 것을 요청합니다.

구현

특성

설명

이 멤버는 명시적 인터페이스 멤버 구현입니다. 인스턴스가 인터페이스로 DataObject 캐스팅 IDataObject 되는 경우에만 사용할 수 있습니다.

적용 대상