Dundas Chart for ASP.NET
Add(Object) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > ChartAreaCollection Class > Add Method : Add(Object) Method


value
The object to be added to the collection.
Chart area object
Used by Chart collections to add an object to a collection.
Add Chart area object to the collection of chart areas

Syntax

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

Parameters

value
The object to be added to the collection.
Chart area object

Return Value

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


The ArrayList index at which the value has been added.

Remarks

Adds an object to a collection, and returns the index where the item was inserted. Items are always added as the last item in a collection.

The name of the object is guaranteed to be unique, and is the class name of the object added followed by an integer (e.g. ChartArea1, ChartArea2, etc.).

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.