Share via


pkgOptionStrict Enumeration

Used by the OptionStrict property.

Namespace:  VSLangProj2
Assembly:  VSLangProj2 (in VSLangProj2.dll)

Syntax

'Declaration
<GuidAttribute("51A0B77A-9B73-487F-88A0-14B6892E3E19")> _
Public Enumeration pkgOptionStrict
[GuidAttribute("51A0B77A-9B73-487F-88A0-14B6892E3E19")]
public enum pkgOptionStrict
[GuidAttribute(L"51A0B77A-9B73-487F-88A0-14B6892E3E19")]
public enum class pkgOptionStrict
[<GuidAttribute("51A0B77A-9B73-487F-88A0-14B6892E3E19")>]
type pkgOptionStrict
public enum pkgOptionStrict

Members

Member name Description
pkgOptionStrictOff Implicit conversions are allowed.
pkgOptionStrictOn 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.

See Also

Reference

VSLangProj2 Namespace