嵌套类型的可访问域决不能超出包含类型的可访问域。
The accessibility domain of a nested type never exceeds that of the containing type.
该域是由已声明的成员可访问性和直接包含类型的可访问域这二者共同确定的。
Which is determined by both the declared accessibility of the member and the accessibility domain of the immediately containing type.
如果成员嵌套在其他类型中,其可访问域由该成员的可访问性级别和直接包含类型的可访问域共同确定。
If the member is nested within another type, its accessibility domain is determined by both the accessibility level of the member and the accessibility domain of the immediately containing type.
指定“私有”表示“只有此作用域可访问”。
Specifies "private" to mean "accessible only to this scope".
返回一field对象数组,映射该Class对象表示的类或接口中的所有可访问公共域。
Returns an array containing field objects reflecting all the accessible public fields of the class or interface represented by this class object.
返回一field对象数组,映射该Class对象表示的类或接口中的所有可访问公共域。
Returns an array containing field objects reflecting all the accessible public fields of the class or interface represented by this class object.
应用推荐