TextExtensions.LastIndexOf(TextRange, String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the last position of the given text in the range. Returns -1 if the text can't be found.
public static int LastIndexOf (this Microsoft.VisualStudio.Extensibility.Editor.TextRange text, string value, bool ignoreCase = false);
static member LastIndexOf : Microsoft.VisualStudio.Extensibility.Editor.TextRange * string * bool -> int
<Extension()>
Public Function LastIndexOf (text As TextRange, value As String, Optional ignoreCase As Boolean = false) As Integer
Parameters
- text
- TextRange
- value
- String
- ignoreCase
- Boolean