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


index

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


Zero based index.
value
Object to be inserted.
Legend item to insert.

Inserts an 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 Object _
) 
Visual Basic (Usage) Copy Code
Dim instance As LegendItemsCollection
Dim index As Integer
Dim value As Object
 
instance.Insert(index, value)
C#  
public void Insert( 
   int index,
   object value
)

Parameters

index

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


Zero based index.
value
Object to be inserted.
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.