Partager via


pkgOptionExplicit Enum

Definition

Used by the OptionExplicit property.

public enum class pkgOptionExplicit
public enum class pkgOptionExplicit
enum pkgOptionExplicit
[System.Runtime.InteropServices.Guid("06954624-6A04-4EDD-9254-B86FD55D56EF")]
public enum pkgOptionExplicit
[<System.Runtime.InteropServices.Guid("06954624-6A04-4EDD-9254-B86FD55D56EF")>]
type pkgOptionExplicit = 
Public Enum pkgOptionExplicit
Inheritance
pkgOptionExplicit
Attributes

Fields

Name Value Description
pkgOptionExplicitOff 0

Variables do not need to be declared before use.

pkgOptionExplicitOn 1

Variables must be declared before use.

Remarks

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.

Applies to