Freigeben über


SnapshotPoint.GreaterThan-Operator

Bestimmt, ob die Position eines Momentaufnahmepunkts größer als die Position eines zweiten Momentaufnahmepunkts 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 die erste Position größer als die zweite ist, 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