SettableOleDataObject::GetCanonicalFormatEtc Method (array<FORMATETC>^, array<FORMATETC>^)
Visual Studio 2015
Gets an alternate FORMATETC object.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: virtual int GetCanonicalFormatEtc( array<FORMATETC>^ pformatectIn, array<FORMATETC>^ pformatetcOut ) sealed
Parameters
- pformatectIn
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::FORMATETC>^
The preferred format object.
- pformatetcOut
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::FORMATETC>^
[out] The returned format object.
Return Value
Type: System::Int32If the method succeeds, F:Microsoft.VisualStudio.VSConstants.S_OK; otherwise, an error code.
Show: