pkgOptionStrict 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 pkgOptionStrict
public enum class pkgOptionStrict
enum pkgOptionStrict
[System.Runtime.InteropServices.Guid("51A0B77A-9B73-487F-88A0-14B6892E3E19")]
public enum pkgOptionStrict
[<System.Runtime.InteropServices.Guid("51A0B77A-9B73-487F-88A0-14B6892E3E19")>]
type pkgOptionStrict =
Public Enum pkgOptionStrict
- Inheritance
-
pkgOptionStrict
- Attributes
Fields
Name | Value | Description |
---|---|---|
pkgOptionStrictOff | 0 | Implicit conversions are allowed. |
pkgOptionStrictOn | 1 | Implicit narrowing conversions are prohibited. |
Remarks
Using pkgOptionStrictOn 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.