VB Byval 我不需要它 [英] VB Byval I don't need it

查看:30
本文介绍了VB Byval 我不需要它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不需要这个声明,因为它只会让我的代码变得庞大且不可读.

I don't need this declaration because it only makes my code big and unreadable.

有没有办法让 Visual Studio (VS) 不自动添加它.每次我删除它时,它都会被VS添加回来.

Is there a way to make Visual Studio (VS) not add it automatically. Every time I remove it, it is added back by VS.

Function DoStuff(Tom As String)

不是

Function DoStuff(ByVal Tom As String)

推荐答案

在 Tools/Options/Text Editor/Basic/VB Specific/Pretty Listing (reformatting) of code 中关闭漂亮格式.

Turn off pretty formatting at Tools/Options/Text Editor/Basic/VB Specific/Pretty Listing (reformatting) of code.

这篇关于VB Byval 我不需要它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆