pkgOptionExplicit Enumeration

Used by the OptionExplicit property.

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

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft