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!

Array.LastIndexOf

Returns the index of the last occurrence of a value in a one-dimensional Array, or in a portion of it.

Overload List

Determines the index of the last occurrence of a value in the entire one-dimensional Array by searching backwards, starting at the last element and ending at the first element.

[Visual Basic] Overloads Public Shared Function LastIndexOf(Array, Object) As Integer
[C#] public static int LastIndexOf(Array, Object);
[C++] public: static int LastIndexOf(Array*, Object);
[JScript] public static function LastIndexOf(Array, Object) : int;

Determines the index of the last occurrence of a value in the one-dimensional Array by searching backwards, starting at the specified index and ending at the first element.

[Visual Basic] Overloads Public Shared Function LastIndexOf(Array, Object, Integer) As Integer
[C#] public static int LastIndexOf(Array, Object, int);
[C++] public: static int LastIndexOf(Array*, Object, int);
[JScript] public static function LastIndexOf(Array, Object, int) : int;

Determines the index of the last occurrence of a value in the one-dimensional Array by searching backwards, starting and ending at the specified indices.

[Visual Basic] Overloads Public Shared Function LastIndexOf(Array, Object, Integer, Integer) As Integer
[C#] public static int LastIndexOf(Array, Object, int, int);
[C++] public: static int LastIndexOf(Array*, Object, int, int);
[JScript] public static function LastIndexOf(Array, Object, int, int) : int;

See Also

Array Class | Array Members | System Namespace