This documentation is archived and is not being maintained.

TypeBuilder.IsSubclassOf Method

Checks if this type is a derived class of the given type c.

[Visual Basic]
Overrides Public Function IsSubclassOf( _
   ByVal c As Type _
) As Boolean
[C#]
public override bool IsSubclassOf(
 Type c
);
[C++]
public: bool IsSubclassOf(
 Type* c
);
[JScript]
public override function IsSubclassOf(
   c : Type
) : Boolean;

Parameters

c
A Type that is to be checked

Return Value

Read-only. Returns true if this type is the same as the type c, or is a subtype of type c; otherwise, false.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

TypeBuilder Class | TypeBuilder Members | System.Reflection.Emit Namespace

Show: