ESRI.ArcGIS.Mobile
IndexOf Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.FeatureCaching Namespace > ReadOnlyFeatureSourceCollection Class : IndexOf Method

item
Determines the index of a specific item in the IList.

Syntax

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

Parameters

item

Remarks

For IList, if the same object appears multiple times in the list, the IndexOf will return the index for the first instance. In LayerCollection, this won't happen because any layer in the ArcMap document (published as service) is considered as a different Layer, even if they refer to the same source feature class in the map document.

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

© 2013 All Rights Reserved.