Share via


TextExtensions.StartsWith(TextRange, String, Boolean) Method

Definition

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

Returns

Applies to