prjOptionExplicit Enumeration


Used by the OptionExplicit property.

Namespace:   VSLangProj
Assembly:  VSLangProj (in VSLangProj.dll)

public enum prjOptionExplicit

Member nameDescription

Variables do not need to be declared before use.


Variables must be declared before use.

The value prjOptionExplicitOn turns on checking for variable declaration. If you attempt to use an undeclared variable name, an error occurs at compile time. If you use prjOptionExplicitOff, all undeclared variables are of Object type.

Return to top