SettableOleDataObject::GetCanonicalFormatEtc Method (array<FORMATETC>^, array<FORMATETC>^)

 

Gets an alternate FORMATETC object.

Namespace:   Microsoft.VisualStudio.Shell
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::Int32

If the method succeeds, F:Microsoft.VisualStudio.VSConstants.S_OK; otherwise, an error code.

Return to top
Show: