Using a static member through an instance variable should be discouraged.
不鼓励通过实例变量来使用静态成员。
You can populate the form through an instance document, which you reference from XPath expressions on the form elements.
可以通过实例文档填充表单,实例文档是从表单元素上的XPath表达式引用的。
In addition, Visual Basic.net allows you to touch a static member through an instance of a type, even a derived type, as you can see in the code in Figure 12.
另外,Visual Basic . NET允许您通过类型的实例、甚至派生类型的实例来触及静态成员,如图12中的代码所示。
应用推荐