Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the position of the left point is greater than the position of the right point.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Shared Operator > ( _
left As VirtualSnapshotPoint, _
right As VirtualSnapshotPoint _
) As Boolean
public static bool operator >(
VirtualSnapshotPoint left,
VirtualSnapshotPoint right
)
public:
static bool operator >(
VirtualSnapshotPoint left,
VirtualSnapshotPoint right
)
static let inline(>)
left:VirtualSnapshotPoint *
right:VirtualSnapshotPoint : bool
JScript does not support overloaded operators.
Parameters
left
Type: Microsoft.VisualStudio.Text.VirtualSnapshotPointThe left-hand point.
right
Type: Microsoft.VisualStudio.Text.VirtualSnapshotPointThe right-hand point.
Return Value
Type: Boolean
true if left.Position is greater than right.Position, otherwise false.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The snapshots of the two points do not match. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.