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


value

The object to locate in the list.


The Object to locate in the collection.

This method is used by Chart collections to retrieve the index of a specified object in the 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 NamedImagesCollection
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.

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.