Partager via


IOleObject.InitFromData Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Déclaration
Function InitFromData ( _
    pDataObject As IDataObject, _
    fCreation As Integer, _
    dwReserved As UInteger _
) As Integer
'Utilisation
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

Return Value

Type: System.Int32

Remarks

For information on the COM interface, see IOleObject::InitFromData

.NET Framework Security

See Also

Reference

IOleObject Interface

IOleObject Members

Microsoft.VisualStudio.OLE.Interop Namespace