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
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.