Freigeben über


VirtualSnapshotPoint.LessThanOrEqual-Operator

Bestimmt, ob die Position des linken Punkts kleiner als oder gleich der Position des rechten Punkts ist.

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 unterstützt keine überladenen Operatoren.

Parameter

Rückgabewert

Typ: Boolean
true , wenn left.Position kleiner oder gleich right.Positionist, andernfalls false.

Ausnahmen

Ausnahme Bedingung
ArgumentException

Wenn die Momentaufnahmen der Punkte nicht übereinstimmen.

.NET Framework-Sicherheit

Siehe auch

Referenz

VirtualSnapshotPoint Struktur

Microsoft.VisualStudio.Text-Namespace