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


value

The object to locate in the list.


The Object to locate in the collection.

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


Searches for the specified Object and returns the zero-based index of the first occurrence within the entire collection.

Syntax

Visual Basic (Declaration)  
Public Function IndexOf( _
   ByVal value As Object _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As FinancialMarkersCollection
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.


The Object to locate in the collection.

Return Value

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


The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.

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.