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


name
Name of the object to be added to the collection.
Name of the chart area
Used by Chart collections to add an item by name.
Add item to the collection

Syntax

Visual Basic (Declaration)  
Public Overloads Function Add( _
   ByVal name As String _
) As ChartArea
Visual Basic (Usage) Copy Code
Dim instance As ChartAreaCollection
Dim name As String
Dim value As ChartArea
 
value = instance.Add(name)
C#  
public ChartArea Add( 
   string name
)

Parameters

name
Name of the object to be added to the collection.
Name of the chart area

Return Value

Returns a reference to the newly added object.
New Chart Area

Remarks

Items are always added as the last item in the collection.

The name argument is the Name property of the object being added.

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.