VirtualSnapshotPoint::LessThanOrEqual Operator (VirtualSnapshotPoint, VirtualSnapshotPoint)

 

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

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

public:
static bool operator <=(
	VirtualSnapshotPoint left,
	VirtualSnapshotPoint right
)

Parameters

left
Type: Microsoft.VisualStudio.Text::VirtualSnapshotPoint

The left-hand point.

right
Type: Microsoft.VisualStudio.Text::VirtualSnapshotPoint

The right-hand point.

Return Value

Type: System::Boolean

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

Exception Condition
ArgumentException

If the snapshots of the points do not match.

Return to top
Show: