'#Region' statement must end with a matching '#End Region'

Use the #Region directive to specify a block of code that you can expand or collapse when using the outlining feature of the Visual Studio Code Editor. The start and end of #Region statements must be in the same code block.

Error ID: BC30681

To correct this error

  • Insert #End Region at the appropriate place in the code after the #Region statement.

See Also

Reference

#Region Directive