Click or drag to resize
ReadOnlyListBaseTFindIndex Method (Int32, PredicateT)
Finds the index of the first item, in the range of items extending from index to the end, that satisfies the condition defined by predicate. If no item matches the condition, -1 is returned.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public virtual int FindIndex(
	int index,
	Predicate<T> predicate
)

Parameters

index
Type: SystemInt32
The starting index of the range to check.
predicate
Type: SystemPredicateT
A delegate that defined the condition to check for.

Return Value

Type: Int32
The index of the first item in the given range that satisfies the condition predicate. If no item satisfies that condition, -1 is returned.
See Also