Freigeben über


InheritanceAttribute-Konstruktor (InheritanceLevel)

Initialisiert eine neue Instanz der InheritanceAttribute-Klasse mit der angegebenen Vererbungsebene.

Namespace: System.ComponentModel
Assembly: System (in system.dll)

Syntax

'Declaration
Public Sub New ( _
    inheritanceLevel As InheritanceLevel _
)
'Usage
Dim inheritanceLevel As InheritanceLevel

Dim instance As New InheritanceAttribute(inheritanceLevel)
public InheritanceAttribute (
    InheritanceLevel inheritanceLevel
)
public:
InheritanceAttribute (
    InheritanceLevel inheritanceLevel
)
public InheritanceAttribute (
    InheritanceLevel inheritanceLevel
)
public function InheritanceAttribute (
    inheritanceLevel : InheritanceLevel
)

Parameter

  • inheritanceLevel
    Ein InheritanceLevel, das die Vererbungsebene angibt, auf die dieses Attribut festgelegt werden soll.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

InheritanceAttribute-Klasse
InheritanceAttribute-Member
System.ComponentModel-Namespace
InheritanceLevel