Nevron .NET Vision
Nevron.Diagram.Batches Namespace / NBatchCompose Class / CanCompose Method
optional composite in which the shape must be added
whether the transaction should be rolled back if some of the nodes cannot be composed


In This Topic
    CanCompose Method
    In This Topic
    Determines whether all contained batch nodes can form a new composite shape under the specified composite
    Syntax
    'Declaration
     
    
    Public Overridable Function CanCompose( _
       ByVal composite As INDiagramElementComposite, _
       ByVal rollbackOnFail As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NBatchCompose
    Dim composite As INDiagramElementComposite
    Dim rollbackOnFail As System.Boolean
    Dim value As System.Boolean
     
    value = instance.CanCompose(composite, rollbackOnFail)
    public virtual System.bool CanCompose( 
       INDiagramElementComposite composite,
       System.bool rollbackOnFail
    )

    Parameters

    composite
    optional composite in which the shape must be added
    rollbackOnFail
    whether the transaction should be rolled back if some of the nodes cannot be composed

    Return Value

    true if all nodes can be composed, otherwise false
    Remarks
    The nodes array must contain at least 1 node. All shapes in the array must have a compose permission.
    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