NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ArrayList.IndexOf

Returns the index of the first occurrence of a value in the ArrayList, or in a portion of it.

Overload List

Searches the ArrayList from the specified index to the end for the specified Object and returns the index of the first occurrence.

[Visual Basic] Overloads Overridable Public Function IndexOf(Object, Integer) As Integer
[C#] public virtual int IndexOf(Object, int);
[C++] public: virtual int IndexOf(Object*, int);
[JScript] public function IndexOf(Object, int) : int;

Searches a section of the ArrayList for the specified Object and returns the index of the first occurrence.

[Visual Basic] Overloads Overridable Public Function IndexOf(Object, Integer, Integer) As Integer
[C#] public virtual int IndexOf(Object, int, int);
[C++] public: virtual int IndexOf(Object*, int, int);
[JScript] public function IndexOf(Object, int, int) : int;

Searches the entire ArrayList for the specified Object and returns the index of the first occurrence.

[Visual Basic] Overloads Overridable Public Function IndexOf(Object) As Integer
[C#] public virtual int IndexOf(Object);
[C++] public: virtual int IndexOf(Object*);
[JScript] public function IndexOf(Object) : int;

See Also

ArrayList Class | ArrayList Members | System.Collections Namespace