共用方式為


TextExtensions.EndsWith(TextRange, String, Boolean) Method

Definition

Determines whether this range ends with the given text.

public static bool EndsWith (this Microsoft.VisualStudio.Extensibility.Editor.TextRange text, string value, bool ignoreCase = false);
static member EndsWith : Microsoft.VisualStudio.Extensibility.Editor.TextRange * string * bool -> bool
<Extension()>
Public Function EndsWith (text As TextRange, value As String, Optional ignoreCase As Boolean = false) As Boolean

Parameters

text
TextRange
value
String
ignoreCase
Boolean

Returns

Applies to