Nevron .NET Vision
Nevron.Diagram.Batches Namespace / NBatchInsert Class / CanInsert Method
composite
index from which to start insertion
whether the transaction should be rolled back if some of the nodes cannot be inserted


In This Topic
    CanInsert Method
    In This Topic
    Determines whether the nodes contained in the batch can be inserted in the specified composite
    Syntax
    'Declaration
     
    
    Public Overridable Function CanInsert( _
       ByVal composite As INDiagramElementComposite, _
       ByVal startIndex As System.Integer, _
       ByVal rollbackOnFail As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NBatchInsert
    Dim composite As INDiagramElementComposite
    Dim startIndex As System.Integer
    Dim rollbackOnFail As System.Boolean
    Dim value As System.Boolean
     
    value = instance.CanInsert(composite, startIndex, rollbackOnFail)
    public virtual System.bool CanInsert( 
       INDiagramElementComposite composite,
       System.int startIndex,
       System.bool rollbackOnFail
    )

    Parameters

    composite
    composite
    startIndex
    index from which to start insertion
    rollbackOnFail
    whether the transaction should be rolled back if some of the nodes cannot be inserted

    Return Value

    true if the nodes can be inserted in the composite, otherwise false
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also