Click or drag to resize

IGraphModelArrayIndexOfBy Method (IList, String, Object, Int32)

Searches the array for the given value in the given member. The array must be of node or edge type, i.e. of a graph element type of this model object.

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

Parameters

array
Type: System.CollectionsIList
The array to search in
member
Type: SystemString
The member to be searched for the value
value
Type: SystemObject
The value to search for
startIndex
Type: SystemInt32
The index to start the search at

Return Value

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