Protected Friend (Visual Basic)
The Protected Friend
keyword combination is a member access modifier. It confers both Friend access and Protected access on the declared elements, so they are accessible from anywhere in the same assembly, from their own class, and from derived classes. You can specify Protected Friend
only on members of classes; you cannot apply Protected Friend
to members of a structure because structures cannot be inherited.
Note
In Visual Studio, selecting F1 help on Protected Friend
provides help for either Protected or Friend. The IDE picks the single token under the cursor rather than the compound word.
See also
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru