SettableOleDataObject.SetData(FORMATETC[], STGMEDIUM[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Transfers data.
public:
virtual void SetData(cli::array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> ^ pFormatetc, cli::array <Microsoft::VisualStudio::OLE::Interop::STGMEDIUM> ^ pmedium, int fRelease);
void SetData(std::Array <Microsoft::VisualStudio::OLE::Interop::FORMATETC> const & pFormatetc, std::Array <Microsoft::VisualStudio::OLE::Interop::STGMEDIUM> const & pmedium, int fRelease);
public void SetData (Microsoft.VisualStudio.OLE.Interop.FORMATETC[] pFormatetc, Microsoft.VisualStudio.OLE.Interop.STGMEDIUM[] pmedium, int fRelease);
abstract member SetData : Microsoft.VisualStudio.OLE.Interop.FORMATETC[] * Microsoft.VisualStudio.OLE.Interop.STGMEDIUM[] * int -> unit
override this.SetData : Microsoft.VisualStudio.OLE.Interop.FORMATETC[] * Microsoft.VisualStudio.OLE.Interop.STGMEDIUM[] * int -> unit
Public Sub SetData (pFormatetc As FORMATETC(), pmedium As STGMEDIUM(), fRelease As Integer)
Parameters
- pFormatetc
- FORMATETC[]
The format object.
- pmedium
- STGMEDIUM[]
The storage medium object.
- fRelease
- Int32
true
if the object called owns the data, false
if the caller retains ownership of the data.