TextPosition.GreaterThan(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.
Determines whether the position of one snapshot position is greater than the position of a second snapshot 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 the first position is greater than the second position, otherwise false
.
Exceptions
The two positions do not belong to the same snapshot.