Condividi tramite


TextPosition.LessThan(TextPosition, TextPosition) Operator

Definition

Determine if the position of the left position is less than the position of the right 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 left.Offset is greater than right.Offset, otherwise false.

Exceptions

The two positions do not belong to the same snapshot.

Applies to