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


In This Topic
    CanDecompose Method
    In This Topic
    Determines whether all contained batch nodes can be decomposed
    Syntax
    'Declaration
     
    
    Public Overridable Function CanDecompose( _
       ByVal composite As INDiagramElementComposite, _
       ByVal rollbackOnFail As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NBatchDecompose
    Dim composite As INDiagramElementComposite
    Dim rollbackOnFail As System.Boolean
    Dim value As System.Boolean
     
    value = instance.CanDecompose(composite, rollbackOnFail)
    public virtual System.bool CanDecompose( 
       INDiagramElementComposite composite,
       System.bool rollbackOnFail
    )

    Parameters

    composite
    optional composite in which the resulting shapes 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 shape. All shapes in the array must have a decompose 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