prjOptionInfer Enumeration
Visual Studio 2015
Determines whether local type inference in declaring variables is used in the project.
Assembly: VslangProj90 (in VslangProj90.dll)
| Member name | Description | |
|---|---|---|
| prjOptionInferOff | Disables local type inference for the project. | |
| prjOptionInferOn | Enables local type inference for the project. |
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: