IOleObject.InitFromData Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Function InitFromData ( _
pDataObject As IDataObject, _
fCreation As Integer, _
dwReserved As UInteger _
) As Integer
'使用
Dim instance As IOleObject
Dim pDataObject As IDataObject
Dim fCreation As Integer
Dim dwReserved As UInteger
Dim returnValue As Integer
returnValue = instance.InitFromData(pDataObject, _
fCreation, dwReserved)
int InitFromData(
IDataObject pDataObject,
int fCreation,
uint dwReserved
)
int InitFromData(
[InAttribute] IDataObject^ pDataObject,
[InAttribute] int fCreation,
[InAttribute] unsigned int dwReserved
)
abstract InitFromData :
pDataObject:IDataObject *
fCreation:int *
dwReserved:uint32 -> int
function InitFromData(
pDataObject : IDataObject,
fCreation : int,
dwReserved : uint
) : int
Parameters
- pDataObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
- fCreation
Type: System.Int32
- dwReserved
Type: System.UInt32
Return Value
Type: System.Int32
Remarks
For information on the COM interface, see IOleObject::InitFromData
.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.