Freigeben über


prjOptionStrict Enum

Definition

Used by the OptionStrict property.

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

Fields

Name Value Description
prjOptionStrictOff 0

Implicit conversions are allowed.

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.

Applies to