IDataObject.SetData Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub SetData ( _
pFormatetc As FORMATETC(), _
pmedium As STGMEDIUM(), _
fRelease As Integer _
)
'Usage
Dim instance As IDataObject
Dim pFormatetc As FORMATETC()
Dim pmedium As STGMEDIUM()
Dim fRelease As Integer
instance.SetData(pFormatetc, pmedium, _
fRelease)
void SetData(
FORMATETC[] pFormatetc,
STGMEDIUM[] pmedium,
int fRelease
)
void SetData(
[InAttribute] array<FORMATETC>^ pFormatetc,
[InAttribute] array<STGMEDIUM>^ pmedium,
[InAttribute] int fRelease
)
abstract SetData :
pFormatetc:FORMATETC[] *
pmedium:STGMEDIUM[] *
fRelease:int -> unit
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
Remarks
For information on the COM interface, see IDataObject::SetData
.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.