Share via


SettableOleDataObject.SetData Method

Transfers data.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Sub SetData ( _
    pFormatetc As FORMATETC(), _
    pmedium As STGMEDIUM(), _
    fRelease As Integer _
)
public void SetData(
    FORMATETC[] pFormatetc,
    STGMEDIUM[] pmedium,
    int fRelease
)
public:
virtual void SetData(
    array<FORMATETC>^ pFormatetc, 
    array<STGMEDIUM>^ pmedium, 
    int fRelease
) sealed
abstract SetData : 
        pFormatetc:FORMATETC[] * 
        pmedium:STGMEDIUM[] * 
        fRelease:int -> unit  
override SetData : 
        pFormatetc:FORMATETC[] * 
        pmedium:STGMEDIUM[] * 
        fRelease:int -> unit
public final function SetData(
    pFormatetc : FORMATETC[], 
    pmedium : STGMEDIUM[], 
    fRelease : int
)

Parameters

  • fRelease
    Type: System.Int32

    true if the object called owns the data, false if the caller retains ownership of the data.

Implements

IDataObject.SetData(array<FORMATETC[], array<STGMEDIUM[], Int32)

.NET Framework Security

See Also

Reference

SettableOleDataObject Class

Microsoft.VisualStudio.Shell Namespace