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

屬性

適用於