Nevron .NET Vision
Nevron.Diagram.WinForm.Commands Namespace / NDiagramCommandCollection Class / Add Method
command to add


In This Topic
    Add Method (NDiagramCommandCollection)
    In This Topic
    Adds the specified command
    Syntax
    'Declaration
     
    
    Public Function Add( _
       ByVal command As NDiagramCommand _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NDiagramCommandCollection
    Dim command As NDiagramCommand
    Dim value As System.Integer
     
    value = instance.Add(command)
    public System.int Add( 
       NDiagramCommand command
    )

    Parameters

    command
    command to add

    Return Value

    index of the command in the collection
    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