Regions in PowerShell-ISE: Unterschied zwischen den Versionen
Aus Wiki-WebPerfect
Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ <source lang="powershell"> #region Code-Part1 "Some PowerShell Code" #endregion Code-Part1 </source> Kategorie:PowerShell“) |
Admin (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
+ | '''Define the start of a region with:''' | ||
+ | <source lang="powershell">#region</source> | ||
+ | '''Define the end of a region with:''' | ||
+ | <source lang="powershell">#endregion</source> | ||
+ | |||
+ | == Example == | ||
<source lang="powershell"> | <source lang="powershell"> | ||
#region Code-Part1 | #region Code-Part1 |
Aktuelle Version vom 14. September 2018, 13:18 Uhr
Define the start of a region with:
#region
Define the end of a region with:
#endregion
Example
#region Code-Part1 "Some PowerShell Code" #endregion Code-Part1