Share via


OleDataObject.IDataObject.GetCanonicalFormatEtc Method

Definition

Retrieves a FORMATETC structure that is logically equivalent to one that is more complex.

 virtual int Microsoft.VisualStudio.OLE.Interop.IDataObject.GetCanonicalFormatEtc(cli::array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> ^ pformatectIn, cli::array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> ^ pformatetcOut) = Microsoft::VisualStudio::OLE::Interop::IDataObject::GetCanonicalFormatEtc;
int Microsoft.VisualStudio.OLE.Interop.IDataObject.GetCanonicalFormatEtc(std::Array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> const & pformatectIn, std::Array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> const & pformatetcOut);
int IDataObject.GetCanonicalFormatEtc (Microsoft.VisualStudio.OLE.Interop.FORMATETC[] pformatectIn, Microsoft.VisualStudio.OLE.Interop.FORMATETC[] pformatetcOut);
abstract member Microsoft.VisualStudio.OLE.Interop.IDataObject.GetCanonicalFormatEtc : Microsoft.VisualStudio.OLE.Interop.FORMATETC[] * Microsoft.VisualStudio.OLE.Interop.FORMATETC[] -> int
override this.Microsoft.VisualStudio.OLE.Interop.IDataObject.GetCanonicalFormatEtc : Microsoft.VisualStudio.OLE.Interop.FORMATETC[] * Microsoft.VisualStudio.OLE.Interop.FORMATETC[] -> int
Function GetCanonicalFormatEtc (pformatectIn As FORMATETC(), pformatetcOut As FORMATETC()) As Integer Implements IDataObject.GetCanonicalFormatEtc

Parameters

pformatectIn
FORMATETC[]

Pointer to the FORMATETC structure that defines the format, medium, and target device that the caller would like to use to retrieve data in a subsequent call such as GetData. The TYMED member is not significant in this case and should be ignored.

pformatetcOut
FORMATETC[]

Pointer to a FORMATETC structure that contains the most general information possible for a specific rendering, making it canonically equivalent to pFormatetcIn.

Returns

If the method succeeded, S_OK, otherwise an error code.

Implements

Applies to