SettableOleDataObject.GetCanonicalFormatEtc(FORMATETC[], FORMATETC[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取备用 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[]
弄返回的格式对象。
返回
如果该方法成功,则为 Microsoft.VisualStudio.VSConstants.S_OK; ; 否则为错误代码。