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

Int32ValidatorAttribute.Validate Method 

[This is preliminary documentation and subject to change.]

Checks whether the specified value can be converted to an Int32 and whether the value lies within the range defined by the MinValue and MaxValue properties.

[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.Int32ValidatorAttribute.Validate(System.Object)

Exceptions

Exception Type Condition
ValidationException

value cannot be converted to an Int32.

-or-

value is not in the range defined by MinValue and MaxValue.

See Also

Int32ValidatorAttribute Class | NAnt.Core.Attributes Namespace