Nevron .NET Vision
Nevron.Diagram.WinForm.Commands Namespace / NDiagramContextMenuBuilder Class / AddCommandsToCommandCollection Method
collection in which to add the newly created commands
command ids from which to obtain contexts
command ids which must be treated as new groups


In This Topic
    AddCommandsToCommandCollection Method
    In This Topic
    Creates commands from the contexts identified by the specified commandIds and adds them to the specified command collection
    Syntax
    'Declaration
     
    
    Protected Overridable Sub AddCommandsToCommandCollection( _
       ByVal collection As NCommandCollection, _
       ByVal commandIds As System.Collections.ArrayList, _
       ByVal beginGroupIds As System.Collections.ArrayList _
    ) 
    'Usage
     
    
    Dim instance As NDiagramContextMenuBuilder
    Dim collection As NCommandCollection
    Dim commandIds As System.Collections.ArrayList
    Dim beginGroupIds As System.Collections.ArrayList
     
    instance.AddCommandsToCommandCollection(collection, commandIds, beginGroupIds)
    protected virtual void AddCommandsToCommandCollection( 
       NCommandCollection collection,
       System.Collections.ArrayList commandIds,
       System.Collections.ArrayList beginGroupIds
    )

    Parameters

    collection
    collection in which to add the newly created commands
    commandIds
    command ids from which to obtain contexts
    beginGroupIds
    command ids which must be treated as new groups
    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