Freigeben über


SnapshotPoint.LessThan-Operator

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

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

Syntax

'Declaration
Public Shared Operator < ( _
    left As SnapshotPoint, _
    right As SnapshotPoint _
) As Boolean
public static bool operator <(
    SnapshotPoint left,
    SnapshotPoint right
)
public:
static bool operator <(
    SnapshotPoint left, 
    SnapshotPoint right
)
static let inline(<)
        left:SnapshotPoint * 
        right:SnapshotPoint  : bool
JScript unterstützt keine überladenen Operatoren.

Parameter

Rückgabewert

Typ: Boolean
true , wenn left.Position größer als right.Positionist, andernfalls false.

Ausnahmen

Ausnahme Bedingung
ArgumentException

Die beiden Punkte gehören nicht derselben Momentaufnahme.

.NET Framework-Sicherheit

Siehe auch

Referenz

SnapshotPoint Struktur

Microsoft.VisualStudio.Text-Namespace