MonobjcMonobjc Documented Class Library
FindLastIndex<(Of <(<'T>)>)> Method (startIndex, match)
NamespacesMonobjc.FoundationNSArrayFindLastIndex<(Of <<'(T>)>>)(Int32, Predicate<(Of <<'(T>)>>))
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the NSArray that extends from the first element to the specified index.
Declaration Syntax
C#Visual BasicVisual C++
public int FindLastIndex<T>(
	int startIndex,
	Predicate<T> match
)
where T : class, IManagedWrapper
Public Function FindLastIndex(Of T As {Class, IManagedWrapper}) ( _
	startIndex As Integer, _
	match As Predicate(Of T) _
) As Integer
public:
generic<typename T>
where T : ref class, IManagedWrapper
int FindLastIndex(
	int startIndex, 
	Predicate<T>^ match
)
Generic Template Parameters
T
The parametric type
Parameters
startIndex (Int32)
The zero-based starting index of the backward search.
match (Predicate<(Of <(<'T>)>)>)
The [!:Predicate{T}] delegate that defines the conditions of the element to search for.
Return Value
The zero-based index of the last occurrence of an element that matches the conditions defined by match, if found; otherwise, �1.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)