Udostępnij za pośrednictwem


SettableOleDataObject.GetCanonicalFormatEtc(FORMATETC[], FORMATETC[]) Method

Definition

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.

Implements

Applies to