Freigeben über


TypeBuilder.IsSubclassOf-Methode

Bestimmt, ob dieser Typ von einem angegebenen Typ abgeleitet ist.

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
Public Overrides Function IsSubclassOf ( _
    c As Type _
) As Boolean
'Usage
Dim instance As TypeBuilder
Dim c As Type
Dim returnValue As Boolean

returnValue = instance.IsSubclassOf(c)
[ComVisibleAttribute(true)] 
public override bool IsSubclassOf (
    Type c
)
[ComVisibleAttribute(true)] 
public:
virtual bool IsSubclassOf (
    Type^ c
) override
/** @attribute ComVisibleAttribute(true) */ 
public boolean IsSubclassOf (
    Type c
)
ComVisibleAttribute(true) 
public override function IsSubclassOf (
    c : Type
) : boolean

Parameter

  • c
    Ein zu überprüfender Type.

Rückgabewert

Schreibgeschützt. Gibt true zurück, wenn dieser Typ derselbe Typ wie c oder ein Untertyp von c ist, andernfalls false.

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

TypeBuilder-Klasse
TypeBuilder-Member
System.Reflection.Emit-Namespace