Dundas Chart for Windows Forms
Add Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > CommandCollection Class : Add Method


value
The Command instance to add.
The Command instance to add.
Enterprise Only Feature. Adds the specified Command object to the collection.
Adds the specified Command object to the CommandCollection.

Syntax

Visual Basic (Declaration)  
Public Function Add( _
   ByVal value As Command _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As CommandCollection
Dim value As Command
Dim value As Integer
 
value = instance.Add(value)
C#  
public int Add( 
   Command value
)

Parameters

value
The Command instance to add.
The Command instance to add.

Return Value

The index in the collection at which the new element was inserted.
The index at which the new element was inserted.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.