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


index

The location where the LegendItem object is to be inserted (0-based).


Zero based index.
value

Object to be added.


Legend item to insert.

Inserts a LegendItem object into the collection at the specified location.


Insert legend item object into the collection.

Syntax

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

Parameters

index

The location where the LegendItem object is to be inserted (0-based).


Zero based index.
value

Object to be added.


Legend item to insert.

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.