InstanceOfTypeConstraint.Matches(Object) Method

Definition

Test whether an object is of the specified type or a derived type

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

Parameters

actual
Object

The object to be tested

Returns

True if the object is of the provided type or derives from it, otherwise false.

Applies to