Share via


SnapshotPoint.LessThan(SnapshotPoint, SnapshotPoint) Operator

Definition

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

public:
 static bool operator <(Microsoft::VisualStudio::Text::SnapshotPoint left, Microsoft::VisualStudio::Text::SnapshotPoint right);
public static bool operator < (Microsoft.VisualStudio.Text.SnapshotPoint left, Microsoft.VisualStudio.Text.SnapshotPoint right);
static member ( < ) : Microsoft.VisualStudio.Text.SnapshotPoint * Microsoft.VisualStudio.Text.SnapshotPoint -> bool
Public Shared Operator < (left As SnapshotPoint, right As SnapshotPoint) As Boolean

Parameters

left
SnapshotPoint

The left-hand snapshot point.

right
SnapshotPoint

The right-hand snapshot point.

Returns

true if left.Position is greater than right.Position, otherwise false.

Exceptions

The two points do not belong to the same snapshot.

Applies to