Freigeben über


VirtualSnapshotPoint.LessThanOrEqual Operator

Definition

Determines whether the position of the left point is less than or equal to the position of the right point.

public:
 static bool operator <=(Microsoft::VisualStudio::Text::VirtualSnapshotPoint left, Microsoft::VisualStudio::Text::VirtualSnapshotPoint right);
public static bool operator <= (Microsoft.VisualStudio.Text.VirtualSnapshotPoint left, Microsoft.VisualStudio.Text.VirtualSnapshotPoint right);
static member ( <= ) : Microsoft.VisualStudio.Text.VirtualSnapshotPoint * Microsoft.VisualStudio.Text.VirtualSnapshotPoint -> bool
Public Shared Operator <= (left As VirtualSnapshotPoint, right As VirtualSnapshotPoint) As Boolean

Parameters

left
VirtualSnapshotPoint

The left-hand point.

right
VirtualSnapshotPoint

The right-hand point.

Returns

true if left.Position is less than or equal to right.Position, otherwise false.

Exceptions

If the snapshots of the points do not match.

Applies to