SnapshotPoint.LessThan Operator

Determines whether the position of the left point is less than the position of the right point.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

public static bool operator <(
    SnapshotPoint left,
    SnapshotPoint right
)

Parameters

Return Value

Type: System.Boolean
true if left.Position is greater than right.Position, otherwise false.

Exceptions

Exception Condition
ArgumentException

The two points do not belong to the same snapshot.

.NET Framework Security

See Also

Reference

SnapshotPoint Structure

Microsoft.VisualStudio.Text Namespace