Compiler Directive Summary (Visual Basic)

Visual Basic language keywords and run-time library members are organized by purpose and use.

Action

Language element

Define a compiler constant.

#Const Directive

Compile selected blocks of code.

#If...Then...#Else Directives

Collapse and hide sections of code.

#Region Directive

Indicate a mapping between source lines and text external to the source.

#ExternalSource Directive

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft