This documentation is archived and is not being maintained.

pkgOptionStrict Enumeration 

Used by the OptionStrict property.

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

[GuidAttribute("51A0B77A-9B73-487F-88A0-14B6892E3E19")] 
public enum pkgOptionStrict
/** @attribute GuidAttribute("51A0B77A-9B73-487F-88A0-14B6892E3E19") */ 
public enum pkgOptionStrict
GuidAttribute("51A0B77A-9B73-487F-88A0-14B6892E3E19") 
public enum pkgOptionStrict

 Member nameDescription
pkgOptionStrictOffImplicit conversions are allowed. 
pkgOptionStrictOnImplicit narrowing conversions are prohibited. 

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.

Show: