Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))

A.5. Conditional Compilation

Element

Description

#Const Directive

Declares a conditional compiler constant

#If...Then...#Else Directive

Defines a block of code that will only be compiled into the program if the expression evaluates to true

Категории