편집

다음을 통해 공유


AssignableToConstraint.Matches(Object) Method

Definition

Test whether an object can be assigned to 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.

Applies to