Click or drag to resize

IActions.ArrayLastIndexOfBy Method (IList, String, Object, Int32)

Searches the array for the given value in the given member from back to front. The array must be of match or match class type of this actions object.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
int ArrayLastIndexOfBy(
	IList array,
	string member,
	Object value,
	int startIndex
)

Parameters

array
Type: System.Collections.IList
The array to search in
member
Type: System.String
The member to be searched for the value
value
Type: System.Object
The value to search for
startIndex
Type: System.Int32
The index to start the search at

Return Value

Type: Int32
The last index before or at startIndex the value appears at, or -1.
See Also