NAnt SDK Documentation - v0.92 |

# ValidatorAttribute.Validate Method

Validates the specified value.

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

#### Parameters

value
  The value to be validated.

#### Exceptions

Exception Type | Condition
--- | ---
ValidationException | The validation fails.

#### See Also

ValidatorAttribute Class | NAnt.Core.Attributes Namespace