Name

#Region...#End Region Directive

Synopsis


#Region "identifier_string"
' code goes here
#End Region
identifier_string required; String literal

The title of the code block (or region)

Description

Marks a block of code as an expandable and collapsible region or code block in the Visual Studio .NET editor.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.