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


value
Data point to add.
Data point to add.
Adds the given data point into the collection.
Add data point object into the collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Function Add( _
   ByVal value As DataPoint _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As DataPointCollection
Dim value As DataPoint
Dim value As Integer
 
value = instance.Add(value)
C#  
public int Add( 
   DataPoint value
)

Parameters

value
Data point to add.
Data point to add.

Return Value

Returns an integer that represents the index where the item was inserted into the collection (0-based).


Index of the newly added object.

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.