Csharp/CSharp Tutorial/Preprocessing Directives/region

Материал из .Net Framework эксперт
Версия от 15:17, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

region

The #region and #endregion directives define a region that will be expanded or collapsed when using outlining in the Visual Studio IDE.

The general form is shown here:


<source lang="csharp">#region region-name

// code sequence
  1. endregion</source>