Nevron .NET Vision
Nevron.Diagram.Batches Namespace / NBatchGroup Class / CanGroup Method
optional composite in which the group must be added
whether the transaction should be rolled back if some of the nodes cannot be grouped


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

    Parameters

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

    Return Value

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