You specify module - level attributes using similar syntax 使用類似語法指定模塊級屬性:
End structure create a module - level collection that can hold 200 elements 結(jié)構(gòu)的列表集合。
Assembly and module - level attributes have no default target 程序集級屬性和模塊級屬性沒有默認(rèn)目標(biāo)。
Module - level programming elements 模塊級編程元素
For more information on the module - level elements , see the following 有關(guān)模塊級元素的更多信息,請參見以下內(nèi)容:
However , module - level variables can make your classes difficult to understand and maintain 然而模塊級變量會使類難以理解和維護。
Module - level variables were accessible in the code file ( form , class , or module ) in which they were declared 模塊級變量在聲明代碼所在的文件(窗體、類、模塊) 。
Without shared fields and properties , you would need to use module - level variables to achieve the same effect 如果沒有共享字段和屬性,就需要使用模塊級變量來獲得同樣的效果。
Furthermore , using module - level variables in this way violates the concept of encapsulation that classes represent 另外,以這種方式使用模塊級變量與類所表示的封裝的概念沖突。
This module - level scoping provides a degree of abstraction data hiding that lets you restrict visibility of the database to a specific module 此模塊級范圍提供了一個抽象級別(數(shù)據(jù)隱藏) ,允許您限制數(shù)據(jù)庫對特定模塊的可見性。