Übersetzungen dieser Seite:

Class Access Modifiers

Access ModifierDescription
privateMember is accessible inside the type only. This is the default.
internalMember is accessible inside the type and any type in the same assembly.
protectedMember is accessible inside the type and any type that inherits from the type.
publicMember is accessible every where.
internal, protectedMemeber is accessible inside the type, any type in the same assembly, and any type that inherits from the type. Equivalent to a fictional access modifier named internal_or_protected.
private, protectedMemeber is accessible inside the type and any type that inherits from the type and is in the same assembly. Equivalent to a fictional access modifier named internal_and_protected. This combination is only available with C# 7.2 or later.

Framework Elemente

start:visualstudio2017:programmieren:dotnetvererbungsbaum:diagramframeworkelement.png

Windows Klasse Vererbung Linie (.NET 5.0, 6.0, 7.0)

Assembly PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

start:visualstudio2017:programmieren:dotnetvererbungsbaum:diagramwindowsclass.png

Inheritance line of the canvas character element in .NET V 7.0

start:visualstudio2022:programmieren:dotnetvererbungsbaum:diagramcanvasclass.png