TextPosition.LessThan(TextPosition, TextPosition) Operator

Definition

Determine if the position of the left position is less than the position of the right position.

C#
public static bool operator <(Microsoft.VisualStudio.Extensibility.Editor.TextPosition left, Microsoft.VisualStudio.Extensibility.Editor.TextPosition right);

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

Produkt Wersje
Visual Studio SDK 2022