TypeProvider.IsSubclassOf(Type, Type) 方法

定义

指示一个 Type 是否为另一个 Type 的派生类。

public:
 static bool IsSubclassOf(Type ^ subclass, Type ^ superClass);
public static bool IsSubclassOf (Type subclass, Type superClass);
static member IsSubclassOf : Type * Type -> bool
Public Shared Function IsSubclassOf (subclass As Type, superClass As Type) As Boolean

参数

subclass
Type

将作为派生类进行测试的 Type

superClass
Type

将作为类进行测试的 Type

返回

Boolean

如果所测试的关系为 true,则为 true;否则为 false

适用于