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
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про