SnapshotPoint.LessThan(SnapshotPoint, SnapshotPoint) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.