Export (0) Print
Expand All

pkgOptionExplicit Enumeration

Used by the OptionExplicit property.

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

[GuidAttribute("06954624-6A04-4EDD-9254-B86FD55D56EF")]
public enum pkgOptionExplicit

Member nameDescription
pkgOptionExplicitOffVariables do not need to be declared before use.
pkgOptionExplicitOnVariables must be declared before use.

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

Show:
© 2015 Microsoft