TextPosition.LessThan(TextPosition, TextPosition) 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 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
- left
- TextPosition
- 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.