TypeBuilder.IsSubclassOf(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

参数

c
Type

要检查的 Type

返回

Boolean

只读。 如果此类型与类型 c 相同或为类型 c 的子类型,则返回 true;否则返回 false

属性

适用于