TextSelection.SelectAll, méthode

Sélectionne tout le document.

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

Syntaxe

'Déclaration
Sub SelectAll
void SelectAll()
void SelectAll()
abstract SelectAll : unit -> unit
function SelectAll()

Exemples

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

Sécurité .NET Framework

Voir aussi

Référence

TextSelection Interface

EnvDTE, espace de noms