Partager via


SnapshotPoint.GreaterThan, opérateur

Détermine si la position d'un point d'instantané est supérieure à la position d'un deuxième point d'instantané.

Espace de noms :  Microsoft.VisualStudio.Text
Assembly :  Microsoft.VisualStudio.Text.Data (dans Microsoft.VisualStudio.Text.Data.dll)

Syntaxe

'Déclaration
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 ne prend pas en charge les opérateurs surchargés.

Paramètres

Valeur de retour

Type : Boolean
true si la première position est supérieure à la seconde ; sinon, false.

Exceptions

Exception Condition
ArgumentException

Les deux points n'appartiennent pas au même instantané.

Sécurité .NET Framework

Voir aussi

Référence

SnapshotPoint Structure

Microsoft.VisualStudio.Text, espace de noms