NAnt SDK Documentation - v0.85-nightly-2005-11-09

StringValidatorAttribute.Validate Method 

[This is preliminary documentation and subject to change.]

Checks if the specified value adheres to the rules defined by the properties of the StringValidatorAttribute.

[Visual Basic]
Overrides Public Sub Validate( _
   ByVal value As Object _
)
[C#]
public override void Validate(
   object value
);

Parameters

value
The value to be checked.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Attributes.StringValidatorAttribute.Validate(System.Object)

Exceptions

Exception Type Condition
ValidationException value is an empty string value and AllowEmpty is set to false.

See Also

StringValidatorAttribute Class | NAnt.Core.Attributes Namespace