TypeBuilder.IsSubclassOf(Type) Method

Definition

Determines whether this type is derived from a specified type.

public:
 override bool IsSubclassOf(Type ^ c);
public override bool IsSubclassOf (Type c);
[System.Runtime.InteropServices.ComVisible(true)]
public override bool IsSubclassOf (Type c);
override this.IsSubclassOf : Type -> bool
[<System.Runtime.InteropServices.ComVisible(true)>]
override this.IsSubclassOf : Type -> bool
Public Overrides Function IsSubclassOf (c As Type) As Boolean

Parameters

c
Type

A Type that is to be checked.

Returns

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

Attributes

Applies to