다음을 통해 공유


OleDataObject.IDataObject.QueryGetData(FORMATETC[]) Method

Definition

Determines whether the data object supports a particular FORMATETC structure for transferring data.

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

Parameters

pFormatetc
FORMATETC[]

Pointer to the FORMATETC structure that defines the format, medium, and target device to use when passing the data. Only one medium can be specified in the tymed member of the FORMATETC structure. These values are valid:TYMED_STORAGETYMED_STREAMTYMED_HGLOBALTYMED_FILE

Returns

If the method succeeded, S_OK, otherwise an error code.

Implements

Applies to