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 _
)
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: 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.