Método TextSelection.SelectAll

Seleciona todo o documento.

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

Sintaxe

'Declaração
Sub SelectAll
void SelectAll()
void SelectAll()
abstract SelectAll : unit -> unit 
function SelectAll()

Exemplos

Sub SelectAllExample()
   ' Before running this example, open a text document.
   Dim objSel As TextSelection = DTE.ActiveDocument.Selection
   ' Go to first line in document and select it.
   objSel.GotoLine(1, True)
   objSel.SelectAll()
End Sub

Segurança do .NET Framework

Consulte também

Referência

TextSelection Interface

Namespace EnvDTE