Dundas Chart for Windows Forms
Insert(Int32,Command) Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > CommandUIItemCollection Class > Insert Method : Insert(Int32,Command) Method


index
Index position where the CommandUIItem object is to be inserted.
Index position where the new CommandUIItem is to be inserted.
value
The Command to be used for the new CommandUIItem item.
The Command to initialize a new CommandUIItem before inserting into the collection.
Enterprise Only Feature. Inserts a CommandUIItem object that is initialized with the specified Command into the collection.
Inserts a CommandUIItem initialized with specified Command into the CommandUIItemCollection.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal value As Command _
) 
Visual Basic (Usage) Copy Code
Dim instance As CommandUIItemCollection
Dim index As Integer
Dim value As Command
 
instance.Insert(index, value)
C#  
public void Insert( 
   int index,
   Command value
)

Parameters

index
Index position where the CommandUIItem object is to be inserted.
Index position where the new CommandUIItem is to be inserted.
value
The Command to be used for the new CommandUIItem item.
The Command to initialize a new CommandUIItem before inserting into the collection.

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.