Compartir a través de


OleDataObject.IDataObject.GetCanonicalFormatEtc Method

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

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

Syntax

'Declaración
Private Function GetCanonicalFormatEtc ( _
    pformatectIn As FORMATETC(), _
    pformatetcOut As FORMATETC() _
) As Integer Implements IDataObject.GetCanonicalFormatEtc
int IDataObject.GetCanonicalFormatEtc(
    FORMATETC[] pformatectIn,
    FORMATETC[] pformatetcOut
)

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.

Return Value

Type: System.Int32
If the method succeeded, S_OK, otherwise an error code.

Implements

IDataObject.GetCanonicalFormatEtc(array<FORMATETC[], array<FORMATETC[])

.NET Framework Security

See Also

Reference

OleDataObject Class

Microsoft.VisualStudio.Shell Namespace