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

/optionstrict (Enforce Strict Type Semantics)

Enforces strict type semantics to restrict implicit type conversions.

/optionstrict [+ | -]

Remarks

The default for this option is /optionstrict+ or /optionstrict. Only widening type conversions can be done implicitly when strict type semantics are being enforced. Implicit narrowing type conversions, such as assigning a Decimal type object to an integer type object will be reported as an error. Specify /optionstrict- if you want to use permissive type semantics.

Example

Compile test.vb using strict type semantics:

vbc /optionstrict+ test.vb 

See Also

Visual Basic Compiler Options