Share via


ITextSelection.ActivePoint, propriété

Obtient le point actif 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 ActivePoint As VirtualSnapshotPoint
VirtualSnapshotPoint ActivePoint { get; }
property VirtualSnapshotPoint ActivePoint {
    VirtualSnapshotPoint get ();
}
abstract ActivePoint : VirtualSnapshotPoint with get
function get ActivePoint () : VirtualSnapshotPoint

Valeur de propriété

Type : Microsoft.VisualStudio.Text.VirtualSnapshotPoint
Point actif.

Notes

Le point actif correspond normalement à la fin de la sélection qui contient l'emplacement du signe insertion. Si la sélection est inversée, alors le point actif précède le point d'ancrage.

Sécurité .NET Framework

Voir aussi

Référence

ITextSelection Interface

Microsoft.VisualStudio.Text.Editor, espace de noms