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.LastIndexOf (Object)

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

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

Parameters

value
The Object to search for.

Return Value

The index of the last occurrence of value in the entire ArrayList, if found; otherwise,-1.

Remarks

This method can be overridden by a derived class.

The ArrayList is searched backwards from the end to the beginning.

See Also

ArrayList Class | ArrayList Members | System.Collections Namespace | ArrayList.LastIndexOf Overload List | IndexOf