共用方式為


TextRange.Equality(TextRange, TextRange) Operator

Definition

Determines whether two snapshot ranges are the same.

public static bool operator == (Microsoft.VisualStudio.Extensibility.Editor.TextRange left, Microsoft.VisualStudio.Extensibility.Editor.TextRange right);
static member ( = ) : Microsoft.VisualStudio.Extensibility.Editor.TextRange * Microsoft.VisualStudio.Extensibility.Editor.TextRange -> bool
Public Shared Operator == (left As TextRange, right As TextRange) As Boolean

Parameters

left
TextRange
right
TextRange

Returns

Applies to