VB.NET Language in a Nutshell

   

B.5 Conditional Compilation

Element

Description

#Const directive

Declares a conditional compiler constant

#If...Then...End If directive

Defines a block of code that will only be compiled into the program if the expression with the conditional constant evaluates to True

   

Категории