Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the data object is capable of rendering the data as specified.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Function QueryGetData ( _
pFormatetc As FORMATETC() _
) As Integer
public int QueryGetData(
FORMATETC[] pFormatetc
)
public:
virtual int QueryGetData(
array<FORMATETC>^ pFormatetc
) sealed
abstract QueryGetData :
pFormatetc:FORMATETC[] -> int
override QueryGetData :
pFormatetc:FORMATETC[] -> int
public final function QueryGetData(
pFormatetc : FORMATETC[]
) : int
Parameters
pFormatetc
Type: array<Microsoft.VisualStudio.OLE.Interop.FORMATETC[]The format object.
Return Value
Type: Int32
If the method succeeds, [F:Microsoft.VisualStudio.VSConstants.S_OK;] otherwise, an error code.
Implements
IDataObject.QueryGetData(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.