Dundas Chart for Windows Forms
Insert(Int32,Command,String) Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > CommandUIItemCollection Class > Insert Method : Insert(Int32,Command,String) 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.
param
Command parameters string.
Command parameters string.
Enterprise Only Feature. Inserts a CommandUIItem object initialized with the specified Command and parameters into the collection.
Inserts a CommandUIItem initialized with a specified Command into the CommandUIItemCollection.

Syntax

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

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.
param
Command parameters string.
Command parameters string.

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.