Nevron .NET Vision
Nevron.Chart.WinForm Namespace / NChartCommandBuilder Class / CreateCommand Method
command id
whether to mark the command as a new group (separator)


In This Topic
    CreateCommand Method (NChartCommandBuilder)
    In This Topic
    Creates a new command from the command context identified by the specified command id and optionally marks it as new group (separator)
    Syntax
    'Declaration
     
    
    Public Overridable Function CreateCommand( _
       ByVal commandId As System.Integer, _
       ByVal beginGroup As System.Boolean _
    ) As NCommand
    'Usage
     
    
    Dim instance As NChartCommandBuilder
    Dim commandId As System.Integer
    Dim beginGroup As System.Boolean
    Dim value As NCommand
     
    value = instance.CreateCommand(commandId, beginGroup)
    public virtual NCommand CreateCommand( 
       System.int commandId,
       System.bool beginGroup
    )

    Parameters

    commandId
    command id
    beginGroup
    whether to mark the command as a new group (separator)

    Return Value

    new command
    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