Collapses and hides sections of code in Visual Basic files.
Required. String that acts as the title of a region when it is collapsed. Regions are collapsed by default.
Terminates the #Region block.
Use the #Region directive to specify a block of code to expand or collapse when using the outlining feature of the Visual Studio Code Editor. You can place, or nest, regions within other regions to group similar regions together.
This example uses the #Region directive.