prjOptionStrict 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 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.