SettableOleDataObject.GetCanonicalFormatEtc(FORMATETC[], FORMATETC[]) 方法

定义

获取备用 FORMATETC 对象。

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

参数

pformatectIn
FORMATETC[]

首选的格式对象。

pformatetcOut
FORMATETC[]

弄返回的格式对象。

返回

Int32

如果该方法成功,则为 Microsoft.VisualStudio.VSConstants.S_OK; ; 否则为错误代码。

实现

适用于