SettableOleDataObject.SetData Method
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub SetData ( _
pFormatetc As FORMATETC(), _
pmedium As STGMEDIUM(), _
fRelease As Integer _
)
'Utilisation
Dim instance As SettableOleDataObject
Dim pFormatetc As FORMATETC()
Dim pmedium As STGMEDIUM()
Dim fRelease As Integer
instance.SetData(pFormatetc, pmedium, _
fRelease)
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
- pFormatetc
Type: array<Microsoft.VisualStudio.OLE.Interop.FORMATETC[]
- pmedium
Type: array<Microsoft.VisualStudio.OLE.Interop.STGMEDIUM[]
- fRelease
Type: System.Int32
Implements
IDataObject.SetData(array<FORMATETC[], array<STGMEDIUM[], Int32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.