Udostępnij za pośrednictwem


prjOptionExplicit Enum

Definition

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.

Applies to