ValidateConstraint(object)
Validates that the constraint has been applied to a valid element of code. When this
method returns false, the constraint is silently ignored.
Declaration
public virtual bool ValidateConstraint(object target)Parameters
| Type | Name | Description |
|---|---|---|
| object | target | The element of code to which the constraint is applied. |
Returns
| Type | Description |
|---|---|
| bool |
|