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


index

The index value where the item should be inserted (0-based).


Zero based index.
value

The object to be inserted.


Data point to insert.

Used by Chart collections to insert an object at the specified location into a collection.


Insert data point 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 DataPointCollection
Dim index As Integer
Dim value As Object
 
instance.Insert(index, value)
C#  
public void Insert( 
   int index,
   object value
)

Parameters

index

The index value where the item should be inserted (0-based).


Zero based index.
value

The object to be inserted.


Data point 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.