共用方式為


IOleObject.InitFromData Method

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

Syntax

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

  • fCreation
    Type: Int32
  • dwReserved
    Type: UInt32

Return Value

Type: Int32

Remarks

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

.NET Framework Security

See Also

Reference

IOleObject Interface

Microsoft.VisualStudio.OLE.Interop Namespace