ESRI.ArcGIS.Mobile
IndexOf Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > CoordinateCollection Class : IndexOf Method

item
The Coordinate object to locate in the Collection.
Gets the zero-based index of the first occurrence of a value in the List.

Syntax

Visual Basic (Declaration) 
Public Function IndexOf( _
   ByVal item As Coordinate _
) As Integer
C# 
public int IndexOf( 
   Coordinate item
)

Parameters

item
The Coordinate object to locate in the Collection.

Return Value

The zero-based index of the first occurrence of value within the entire array, if found; otherwise it returns –1.

Remarks

Searches for the specified Coordiante object and returns the index of the first occurrence within the entire CoordinateCollection.

Requirements

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