Checks if the specified value adheres to the rules defined by the properties of the StringValidatorAttribute.
| Exception Type | Condition |
|---|---|
| ValidationException | value is an empty string value and AllowEmpty is set to false. |
StringValidatorAttribute Class | NAnt.Core.Attributes Namespace