Share via


pkgOptionInfer Enumeration

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

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

Syntax

'Declaration
<GuidAttribute("39D4F2AE-776E-4948-BDA3-8DEE4C5D4ABD")> _
Public Enumeration pkgOptionInfer
'Usage
Dim instance As pkgOptionInfer
[GuidAttribute("39D4F2AE-776E-4948-BDA3-8DEE4C5D4ABD")]
public enum pkgOptionInfer
[GuidAttribute(L"39D4F2AE-776E-4948-BDA3-8DEE4C5D4ABD")]
public enum class pkgOptionInfer
public enum pkgOptionInfer

Members

Member name Description
pkgOptionInferOff Disables local type inference in the package.
pkgOptionInferOn Enables local type inference in the package.

Remarks

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.

See Also

Reference

VslangProj90 Namespace