NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HxLink DID NOT INITIALIZE

/optionexplicit (Require Explicit Declaration of Variables)

Causes the compiler to report errors if variables are not declared prior to use.

/optionexplicit[+ | -]

Remarks

The default for this option is /optionexplicit+ which is the same as /optionexplicit. Specify /optionexplicit- if you want to use implicitly declared variables.

Example

Compile in.vb and check for undeclared variables:

vbc /optionexplicit in.vb

See Also

Visual Basic Compiler Options