Specify the declared accessibility of types and type members 指定聲明的類型和類型成員的可訪問(wèn)性。
Default member accessibility allowed declared accessibility of the member 該成員允許的聲明的可訪問(wèn)性
A summary of the restrictions on using declared accessibility levels :概述了聲明的可訪問(wèn)性級(jí)別的使用限制。
The classes contain fields with different declared accessibilities 這兩個(gè)類包含具有不同聲明的可訪問(wèn)性的字段。
If the declared accessibility of 的可訪問(wèn)域就是
To specify one of the following declared accessibilities for members . declared accessibility 可以為成員指定以下聲明的可訪問(wèn)性之一。
Access modifiers are keywords used to specify the declared accessibility of a member or a type 訪問(wèn)修飾符是一些關(guān)鍵字,用于指定聲明的成員或類型的可訪問(wèn)性。
Depending on the context in which a member declaration takes place , only certain declared accessibilities are permitted 根據(jù)發(fā)生成員聲明的上下文,只允許某些聲明的可訪問(wèn)性。
Nested types , which are members of other types , can have declared accessibilities as indicated in the following table 嵌套類型是其他類型的成員,它們可以具有下表所示的聲明的可訪問(wèn)性。
Which is determined by both the declared accessibility of the member and the accessibility domain of the immediately containing type ,該域是由已聲明的成員可訪問(wèn)性和直接包含類型的可訪問(wèn)域這二者共同確定的。