Догађаји
Изградите интелигентне апликације
17. мар 21 - 21. мар 10
Придружите се серији састанака како бисте изградили скалабилна АИ решења заснована на стварним случајевима коришћења са колегама програмерима и стручњацима.
Региструјте се одмахОвај прегледач више није подржан.
Надоградите на Microsoft Edge бисте искористили најновије функције, безбедносне исправке и техничку подршку.
Enables the use of local type inference in variable declarations.
-optioninfer[+ | -]
Term | Definition |
---|---|
+ | - |
Optional. Specify -optioninfer+ to enable local type inference, or -optioninfer- to block it. The -optioninfer option, with no value specified, is the same as -optioninfer+ . The default value when the -optioninfer switch is not present is also -optioninfer+ . The default value is set in the Vbc.rsp response file. |
Напомена
You can use the -noconfig
option to retain the compiler's internal defaults instead of those specified in vbc.rsp. The compiler default for this option is -optioninfer-
.
If the source code file contains an Option Infer Statement, the statement overrides the -optioninfer
command-line compiler setting.
Select a project in Solution Explorer. On the Project menu, click Properties.
On the Compile tab, modify the value in the Option infer box.
The following code compiles test.vb
with local type inference enabled.
vbc -optioninfer+ test.vb
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације:
Догађаји
Изградите интелигентне апликације
17. мар 21 - 21. мар 10
Придружите се серији састанака како бисте изградили скалабилна АИ решења заснована на стварним случајевима коришћења са колегама програмерима и стручњацима.
Региструјте се одмах