Muokkaa

Jaa


TypeProvider.IsSubclassOf(Type, Type) Method

Definition

Indicates whether a Type is a derived class of another 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

Parameters

subclass
Type

The Type being tested as a derived class.

superClass
Type

The Type being tested as the class.

Returns

true if the tested relationship is true; otherwise false.

Applies to