SettableOleDataObject.GetCanonicalFormatEtc Method
Gets an alternate FORMATETC object.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Function GetCanonicalFormatEtc ( _
pformatectIn As FORMATETC(), _
pformatetcOut As FORMATETC() _
) As Integer
public int GetCanonicalFormatEtc(
FORMATETC[] pformatectIn,
FORMATETC[] pformatetcOut
)
public:
virtual int GetCanonicalFormatEtc(
array<FORMATETC>^ pformatectIn,
array<FORMATETC>^ pformatetcOut
) sealed
abstract GetCanonicalFormatEtc :
pformatectIn:FORMATETC[] *
pformatetcOut:FORMATETC[] -> int
override GetCanonicalFormatEtc :
pformatectIn:FORMATETC[] *
pformatetcOut:FORMATETC[] -> int
public final function GetCanonicalFormatEtc(
pformatectIn : FORMATETC[],
pformatetcOut : FORMATETC[]
) : int
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.
Implements
IDataObject.GetCanonicalFormatEtc(array<FORMATETC[], array<FORMATETC[])
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.