OleDataObject::IDataObject::GetCanonicalFormatEtc Method (array<FORMATETC>^, array<FORMATETC>^)

 

Retrieves a FORMATETC structure that is logically equivalent to one that is more complex.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int GetCanonicalFormatEtc(
	array<FORMATETC>^ pformatectIn,
	array<FORMATETC>^ pformatetcOut
) sealed = IDataObject::GetCanonicalFormatEtc

Parameters

pformatectIn
Type: array<Microsoft.VisualStudio.OLE.Interop::FORMATETC>^

Pointer to the FORMATETC structure that defines the format, medium, and target device that the caller would like to use to retrieve data in a subsequent call such as GetData. The TYMED member is not significant in this case and should be ignored.

pformatetcOut
Type: array<Microsoft.VisualStudio.OLE.Interop::FORMATETC>^

Pointer to a FORMATETC structure that contains the most general information possible for a specific rendering, making it canonically equivalent to pFormatetcIn.

Return Value

Type: System::Int32

If the method succeeded, S_OK, otherwise an error code.

Return to top
Show: