AvalonEdit
LastIndexOf Method (item, startIndex, count)
NamespacesICSharpCode.AvalonEdit.UtilsRope<(Of <(<'T>)>)>LastIndexOf(T, Int32, Int32)
Gets the index of the last occurrence of the specified item in this rope.
Declaration Syntax
C#Visual BasicVisual C++
public int LastIndexOf(
	T item,
	int startIndex,
	int count
)
Public Function LastIndexOf ( _
	item As T, _
	startIndex As Integer, _
	count As Integer _
) As Integer
public:
int LastIndexOf(
	T item, 
	int startIndex, 
	int count
)
Parameters
item (T)
The search item
startIndex (Int32)
Start index of the area to search.
count (Int32)
Length of the area to search.
Return Value
The last index where the item was found; or -1 if no occurrence was found.
Remarks
The search proceeds backwards from (startIndex+count) to startIndex. This is different than the meaning of the parameters on Array.LastIndexOf!

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238