[]
Validates whether the specifed value matches the given regular expression.
protected override bool Validate(ValidateActionContext context)
Protected Overrides Function Validate(context As ValidateActionContext) As Boolean
Type | Name | Description |
---|---|---|
ValidateActionContext | context | A ValidateActionContext value that indicates which value is validated, and that contains some relative context information. |
Type | Description |
---|---|
bool | true if the specifed value matches the given regular expression; otherwise, false. |
If Expression is null, the result is always successful.
The result matches the Expression exactly and completely.