Partager via


InstanceOfTypeConstraint.Matches(Object) Méthode

Définition

Tester si un objet est du type spécifié ou d’un type dérivé

public override bool Matches(object actual);
override this.Matches : obj -> bool

Paramètres

actual
Object

Objet à tester

Retours

True si l’objet est du type fourni ou en dérive, sinon false.

S’applique à