且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何知道VB .Net代码中已定义变量的数量

更新时间:2023-11-27 23:30:22

我认为您应该手动计数

I think you should either manually count

使用查找全部"并使用变量声明语句,例如"Dim".等作为搜索字词

Use Find All and use the variable declaration statments like "Dim" etc. as search term

另一个选择是将类图拖放到项目中并拖放类,然后对其进行计数.但这只会显示全局变量和属性.

Another option is to drop a class diagram into the project and drag drop classes, and then count it. But this will only show the global variables and properties.