TextSelection.IsActiveEndGreater, propriété

Obtient une valeur indiquant si le point actif équivaut au point inférieur.

Espace de noms :  EnvDTE
Assembly :  EnvDTE (dans EnvDTE.dll)

Syntaxe

'Déclaration
ReadOnly Property IsActiveEndGreater As Boolean
bool IsActiveEndGreater { get; }
property bool IsActiveEndGreater {
    bool get ();
}
abstract IsActiveEndGreater : bool with get
function get IsActiveEndGreater () : boolean

Valeur de propriété

Type : Boolean
Valeur booléenne indiquant True si la fin active de la sélection de texte est à un caractère absolu supérieur décalé que l'ancrage dans le document texte, False dans le cas contraire.

Exemples

Sub IsActiveEndGreaterExample()
   ' Before running this example, open a text document.
   Dim objSel As TextSelection = DTE.ActiveDocument.Selection
   ' Go to first line in document.
   objSel.GotoLine(1, False)
   MsgBox("Is the active point at the bottom of the document? " & objSel.IsActiveEndGreater)
   objSel.EndOfDocument(True)
   MsgBox("Is the active point at the bottom of the document? " & objSel.IsActiveEndGreater)
End Sub

Sécurité .NET Framework

Voir aussi

Référence

TextSelection Interface

EnvDTE, espace de noms