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


cell
Cell to search the collection for.
Cell to get the collection index for.
Gets the index of the specified legend cell in the collection.
Gets index of specified cell.

Syntax

Visual Basic (Declaration)  
Public Function IndexOf( _
   ByVal cell As LegendCell _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As LegendCellCollection
Dim cell As LegendCell
Dim value As Integer
 
value = instance.IndexOf(cell)
C#  
public int IndexOf( 
   LegendCell cell
)

Parameters

cell
Cell to search the collection for.
Cell to get the collection index for.

Return Value

An integer value that represents the index of the legend cell in the collection.
Index in the collection or -1 if do not exsists.

Remarks

Negative one (-1) will be returned if item is not found.

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.