Dundas Chart for ASP.NET
Insert(Int32,String) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > LegendCollection Class > Insert Method : Insert(Int32,String) Method


index
Index of collection where legend will be inserted.
Legend index to insert at.
name
Legend name.
Legend name.
Inserts one legend into the collection at the given location.
Insert one legend into the collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal name As String _
) 
Visual Basic (Usage) Copy Code
Dim instance As LegendCollection
Dim index As Integer
Dim name As String
 
instance.Insert(index, name)
C#  
public void Insert( 
   int index,
   string name
)

Parameters

index
Index of collection where legend will be inserted.
Legend index to insert at.
name
Legend name.
Legend name.

Return Value

Index of added item in the collection.
Index of newly added item.

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.