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


name
Name of the Title object to search for.
Name of the chart title.
Gets the chart title index using the name of the Title object.
Get chart title index by name.

Syntax

Visual Basic (Declaration)  
Public Overloads Function IndexOf( _
   ByVal name As String _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As TitleCollection
Dim name As String
Dim value As Integer
 
value = instance.IndexOf(name)
C#  
public int IndexOf( 
   string name
)

Parameters

name
Name of the Title object to search for.
Name of the chart title.

Return Value

Index of the chart title in the collection, or -1 if not found.
Index of the chart title or -1 if it does not exist.

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.