Gets the index of the last occurrence of the specified search text in this text source.
|C#||Visual Basic||Visual C++|
Function LastIndexOf ( _ searchText As String, _ startIndex As Integer, _ count As Integer, _ comparisonType As StringComparison _ ) As Integer
The last index where the search term was found; or -1 if no occurrence was found.
The search proceeds backwards from (startIndex+count) to startIndex. This is different than the meaning of the parameters on string.LastIndexOf!
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 220.127.116.1138