InstanceOfTypeConstraint.Matches(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.