次の方法で共有


SettableOleDataObject.SetData(FORMATETC[], STGMEDIUM[], Int32) Method

Definition

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.

Implements

Applies to