Partager via


VirtualSnapshotPoint.LessThanOrEqual Operator

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)

Syntax

'Déclaration
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

Return Value

Type: System.Boolean
true if left.Position is less than or equal to right.Position, otherwise false.

Exceptions

Exception Condition
ArgumentException

If the snapshots of the points do not match.

.NET Framework Security

See Also

Reference

VirtualSnapshotPoint Structure

Microsoft.VisualStudio.Text Namespace