pkgOptionInfer Enumeration

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

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

public enum pkgOptionInfer

Member nameDescription
pkgOptionInferOffDisables local type inference in the package.
pkgOptionInferOnEnables 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft