prjOptionExplicit Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used by the OptionExplicit property.
public enum class prjOptionExplicit
public enum class prjOptionExplicit
enum prjOptionExplicit
[System.Runtime.InteropServices.Guid("95DCFABC-145D-498D-A454-47F33D47139C")]
public enum prjOptionExplicit
[<System.Runtime.InteropServices.Guid("95DCFABC-145D-498D-A454-47F33D47139C")>]
type prjOptionExplicit =
Public Enum prjOptionExplicit
- Inheritance
-
prjOptionExplicit
- Attributes
Fields
Name | Value | Description |
---|---|---|
prjOptionExplicitOff | 0 | Variables do not need to be declared before use. |
prjOptionExplicitOn | 1 | Variables must be declared before use. |
Remarks
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.