共用方式為


SettableOleDataObject.QueryGetData Method

Determines whether the data object is capable of rendering the data as specified.

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

Syntax

'宣告
Public Function QueryGetData ( _
    pFormatetc As FORMATETC() _
) As Integer
public int QueryGetData(
    FORMATETC[] pFormatetc
)

Parameters

Return Value

Type: System.Int32
If the method succeeds, [F:Microsoft.VisualStudio.VSConstants.S_OK;] otherwise, an error code.

Implements

IDataObject.QueryGetData(array<FORMATETC[])

.NET Framework Security

See Also

Reference

SettableOleDataObject Class

Microsoft.VisualStudio.Shell Namespace