TextExtensions.StartsWith(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 whether this range starts with the given text.
public static bool StartsWith (this Microsoft.VisualStudio.Extensibility.Editor.TextRange text, string value, bool ignoreCase = false);
static member StartsWith : Microsoft.VisualStudio.Extensibility.Editor.TextRange * string * bool -> bool
<Extension()>
Public Function StartsWith (text As TextRange, value As String, Optional ignoreCase As Boolean = false) As Boolean
Parameters
- text
- TextRange
- value
- String
- ignoreCase
- Boolean