SettableOleDataObject.EnumFormatEtc(UInt32, IEnumFORMATETC) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an object that allows you to enumerate the formats supported by the data object.
public:
virtual int EnumFormatEtc(System::UInt32 dwDirection, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IEnumFORMATETC ^ % ppenumFormatEtc);
public int EnumFormatEtc (uint dwDirection, out Microsoft.VisualStudio.OLE.Interop.IEnumFORMATETC ppenumFormatEtc);
abstract member EnumFormatEtc : uint32 * IEnumFORMATETC -> int
override this.EnumFormatEtc : uint32 * IEnumFORMATETC -> int
Public Function EnumFormatEtc (dwDirection As UInteger, ByRef ppenumFormatEtc As IEnumFORMATETC) As Integer
Parameters
- dwDirection
- UInt32
A pointer to the DATADIR enumeration, which specifies the direction of the data flow.
- ppenumFormatEtc
- IEnumFORMATETC
[out] The enumerator.
Returns
If the method succeeds, Microsoft.VisualStudio.VSConstants.S_OK; otherwise, an error code.