Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Determines whether local type inference in declaring variables is used in the project.
Namespace: VslangProj90
Assembly: VslangProj90 (in VslangProj90.dll)
Syntax
'Declaration
<GuidAttribute("E629A10F-3E9C-4F54-A281-FAB74B25AD7C")> _
Public Enumeration prjOptionInfer
[GuidAttribute("E629A10F-3E9C-4F54-A281-FAB74B25AD7C")]
public enum prjOptionInfer
[GuidAttribute(L"E629A10F-3E9C-4F54-A281-FAB74B25AD7C")]
public enum class prjOptionInfer
[<GuidAttribute("E629A10F-3E9C-4F54-A281-FAB74B25AD7C")>]
type prjOptionInfer
public enum prjOptionInfer
Members
| Member name | Description | |
|---|---|---|
| prjOptionInferOff | Disables local type inference for the project. | |
| prjOptionInferOn | Enables local type inference for the project. |
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.