Dundas Chart for ASP.NET
IndexOf Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > SeriesCollection Class : IndexOf Method


value

The object to locate in the list.


Object to look for.

This method is used by Chart collections to retrieve the index of a specified object in a collection.


Gets first index of the collection item equal to the object provided.

Syntax

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

Parameters

value

The object to locate in the list.


Object to look for.

Return Value

An integer value that represents the index of the item in the collection.


Index of found object.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.