Dundas.SharePoint.Charting.WebParts Send comments on this topic.
Insert(Int32,String) Method
See Also 
Dundas.Charting.WebControl Namespace > LegendCollection Class > Insert Method : Insert(Int32,String) Method


index
Legend index to insert at.
name
Legend name.
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
Legend index to insert at.
name
Legend name.

Return Value

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