Partager via


SnapshotPoint.GreaterThan(SnapshotPoint, SnapshotPoint) Operator

Definition

Determines whether the position of one snapshot point is greater than the position of a second snapshot 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 the first position is greater than the second position, otherwise false.

Exceptions

The two points do not belong to the same snapshot.

Applies to