Skip to content

Accessibility Enum ​

Definition ​

Describes how accessible a member is.

c#
public enum Accessibility

Fields ​

NameDescription
InternalAccess is limited to the current assembly.
PrivateAccess is limited to the containing type.
PrivateProtectedAccess is limited to the containing class or types derived from the containing class within the current assembly.
ProtectedAccess is limited to the containing class or types derived from the containing class.
ProtectedInternalAccess is limited to the current assembly or types derived from the containing class.
PublicAccess is not restricted.