prjOptionInfer Enumeration

 

Determines whether local type inference in declaring variables is used in the project.

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

[GuidAttribute("E629A10F-3E9C-4F54-A281-FAB74B25AD7C")]
public enum prjOptionInfer

Member nameDescription
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.

Return to top
Show: