Aracılığıyla paylaş


TypeProvider.IsSubclassOf(Type, Type) Yöntem

Tanım

bir Type öğesinin başka Type bir öğesinin türetilmiş bir sınıfı olup olmadığını gösterir.

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

Parametreler

subclass
Type

Type türetilmiş bir sınıf olarak test ediliyor.

superClass
Type

Type sınıfı olarak test ediliyor.

Döndürülenler

Boolean

true test edilen ilişki doğruysa; aksi takdirde false.

Şunlara uygulanır