SettableOleDataObject.GetCanonicalFormatEtc(FORMATETC[], FORMATETC[]) 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 alternate FORMATETC object.
public:
virtual int GetCanonicalFormatEtc(cli::array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> ^ pformatectIn, cli::array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> ^ pformatetcOut);
int GetCanonicalFormatEtc(std::Array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> const & pformatectIn, std::Array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> const & pformatetcOut);
public int GetCanonicalFormatEtc (Microsoft.VisualStudio.OLE.Interop.FORMATETC[] pformatectIn, Microsoft.VisualStudio.OLE.Interop.FORMATETC[] pformatetcOut);
abstract member GetCanonicalFormatEtc : Microsoft.VisualStudio.OLE.Interop.FORMATETC[] * Microsoft.VisualStudio.OLE.Interop.FORMATETC[] -> int
override this.GetCanonicalFormatEtc : Microsoft.VisualStudio.OLE.Interop.FORMATETC[] * Microsoft.VisualStudio.OLE.Interop.FORMATETC[] -> int
Public Function GetCanonicalFormatEtc (pformatectIn As FORMATETC(), pformatetcOut As FORMATETC()) As Integer
Parameters
- pformatectIn
- FORMATETC[]
The preferred format object.
- pformatetcOut
- FORMATETC[]
[out] The returned format object.
Returns
If the method succeeds, Microsoft.VisualStudio.VSConstants.S_OK; otherwise, an error code.