prjOptionStrict prjOptionStrict prjOptionStrict Enum

Definition

Used by the OptionStrict property.

[System.Runtime.InteropServices.Guid("CE6AA0FD-6CCD-4601-A730-FA75219862C3")]
public enum prjOptionStrict
type prjOptionStrict = 
Public Enum prjOptionStrict
Inheritance
prjOptionStrictprjOptionStrictprjOptionStrict
Attributes

Fields

prjOptionStrictOff prjOptionStrictOff prjOptionStrictOff 0

Implicit conversions are allowed.

prjOptionStrictOn prjOptionStrictOn prjOptionStrictOn 1

Implicit narrowing conversions are prohibited.

Remarks

Using prjOptionStrictOn prohibits implicit narrowing conversions, such as converting a long value to an integer value. Explicit conversions using CType and other conversion functions must be used instead.