Partager via


SettableOleDataObject.QueryGetData(FORMATETC[]) Method

Definition

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

public:
 virtual int QueryGetData(cli::array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> ^ pFormatetc);
int QueryGetData(std::Array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> const & pFormatetc);
public int QueryGetData (Microsoft.VisualStudio.OLE.Interop.FORMATETC[] pFormatetc);
abstract member QueryGetData : Microsoft.VisualStudio.OLE.Interop.FORMATETC[] -> int
override this.QueryGetData : Microsoft.VisualStudio.OLE.Interop.FORMATETC[] -> int
Public Function QueryGetData (pFormatetc As FORMATETC()) As Integer

Parameters

pFormatetc
FORMATETC[]

The format object.

Returns

If the method succeeds, Microsoft.VisualStudio.VSConstants.S_OK; otherwise, an error code.

Implements

Applies to