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
public override bool IsSubclassOf(
 Type c
public: bool IsSubclassOf(
 Type* c
public override function IsSubclassOf(
   c : Type
) : Boolean;


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.


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