选项 Strict 在 VB.NET 中默认开启 [英] Option Strict on by default in VB.NET
本文介绍了选项 Strict 在 VB.NET 中默认开启的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我创建一个新的 VB.NET 程序时,我都必须进入项目的属性并设置选项严格".我可以这样做一次吗,以便每次创建新项目时都是默认设置?
Whenever I created a new VB.NET program I must go into the project's properties and set 'Option strict' on. Can I do that once so it is a default for every time I create a new project?
推荐答案
在 Visual Studio 中,转到菜单 Tools -> Options -> Projects and Solutions -> VB 默认值 -> Option Strict.将其设置为开".
In Visual Studio, go menu Tools -> Options -> Projects and Solutions -> VB defaults -> Option Strict. Set it to "On".
每次创建新项目时,默认情况下都会Option Strict On.
Every time you create a new project, it will have Option Strict On by default.
这篇关于选项 Strict 在 VB.NET 中默认开启的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文