次の方法で共有


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
)
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

Permissions

See Also

Reference

IOleObject Interface

IOleObject Members

Microsoft.VisualStudio.OLE.Interop Namespace