Share via


ITextSelection.AnchorPoint, propriété

Obtient le point d'ancrage de la sélection.

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

Syntaxe

'Déclaration
ReadOnly Property AnchorPoint As VirtualSnapshotPoint
VirtualSnapshotPoint AnchorPoint { get; }
property VirtualSnapshotPoint AnchorPoint {
    VirtualSnapshotPoint get ();
}
abstract AnchorPoint : VirtualSnapshotPoint with get
function get AnchorPoint () : VirtualSnapshotPoint

Valeur de propriété

Type : Microsoft.VisualStudio.Text.VirtualSnapshotPoint
Point d'ancrage.

Notes

Le point d'ancrage correspond normalement à la fin de la sélection qui ne contient pas l'emplacement du signe insertion. Si la sélection est inversée, ce point vient après le point actif.

Sécurité .NET Framework

Voir aussi

Référence

ITextSelection Interface

Microsoft.VisualStudio.Text.Editor, espace de noms