Partilhar via


Propriedade TextSelection.IsActiveEndGreater

Obtém se o ponto ativa é igual ao ponto inferior.

Namespace:  EnvDTE
Assembly:  EnvDTE (em EnvDTE.dll)

Sintaxe

'Declaração
ReadOnly Property IsActiveEndGreater As Boolean
bool IsActiveEndGreater { get; }
property bool IsActiveEndGreater {
    bool get ();
}
abstract IsActiveEndGreater : bool with get
function get IsActiveEndGreater () : boolean

Valor de propriedade

Tipo: Boolean
Um valor Booleano que indica se True ativo ao final de seleção de texto está em um caractere absoluto deslocado maior do que a âncora no documento de texto, False se não.

Exemplos

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

Segurança do .NET Framework

Consulte também

Referência

TextSelection Interface

Namespace EnvDTE