pkgOptionInfer Enumeration
Visual Studio 2015
Determines whether local type inference in declaring variables is used in the package.
Assembly: VslangProj90 (in VslangProj90.dll)
| Member name | Description | |
|---|---|---|
| pkgOptionInferOff | Disables local type inference in the package. | |
| pkgOptionInferOn | Enables local type inference in the package. |
When you use pkgOptionInferOn, you can declare variables without explicitly stating a data type. The compiler infers the data type of a variable from the type of its initialization expression. For more information, see Option Infer Statement.
Show: