Freigeben über


TextPosition.GreaterThan(TextPosition, TextPosition) Operator

Definition

Determines whether the position of one snapshot position is greater than the position of a second snapshot position.

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

Parameters

right
TextPosition

Returns

true if the first position is greater than the second position, otherwise false.

Exceptions

The two positions do not belong to the same snapshot.

Applies to