Udostępnij za pośrednictwem


Metoda TextSelection.SelectAll —

Zaznacza cały dokument.

Przestrzeń nazw:  EnvDTE
Zestaw:  EnvDTE (w EnvDTE.dll)

Składnia

'Deklaracja
Sub SelectAll
void SelectAll()
void SelectAll()
abstract SelectAll : unit -> unit
function SelectAll()

Przykłady

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

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

TextSelection Interfejs

Przestrzeń nazw EnvDTE