Visual Basic language keywords and run-time library members are organized by purpose and use.
| Action | Language element |
|---|---|
| Define a compiler constant. | #Const |
| Compile selected blocks of code. | #If...Then...#Else |
| Collapse and hide sections of code. | #Region |
| Indicate a mapping between source lines and text external to the source. | #ExternalSource |
Keywords and Members by Task | Visual Basic Language Keywords | Visual Basic Run-Time Library Members