Every name is introduced in some portion of program text called a declarative region , which is the largest part of the program in which that name is valid , that is , in which that name may be used as an unqualified name to refer to the same entity 每个名字都被引入到程序文本中某些被称为声明区域的部分中,声明区域是程序中该名字有效的最广泛区域,也就是说,这个名字在其中可以作为非限定名应用并指代同一个实体。
If code inside a nested structure makes an unqualified reference to a programming element , visual basic searches for the element first in the nested structure , then in its containing structure , and so on out to the outermost containing element 如果嵌套结构外的代码以非限定的方式引用某个编程元素,则visual basic会按此顺序搜索该元素:先在嵌套结构中搜索,然后在其包含结构中搜索,依此类推,一直到最外部的包含元素。