region, endregion
Visual Studio 2005
#pragma region lets you specify a block of code that you can expand or collapse when using the outlining feature of the Visual Studio Code Editor.
#pragma region name #pragma endregion comment
Parameters
- comment(optional)
-
A comment that will display in the code editor.
- name(optional)
-
The name of the region. This name will display in the code editor.