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


value
Object to be added.
Legend item to add.
Adds an object to the end of the collection.
Add legend item object into the collection.

Syntax

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

Parameters

value
Object to be added.
Legend item to add.

Return Value

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.