AssignableFromConstraint.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 can be assigned from the specified 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 can be assigned a value of the expected Type, otherwise false.