|
NumericRangeValidatorValidate Method
|
Determines whether or not the specified value is a valid number that falls within the specified range.
Namespace: GSF.ValidationAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntaxpublic bool Validate(
Object value,
out string validationError
)
Public Function Validate (
value As Object,
<OutAttribute> ByRef validationError As String
) As Boolean
public:
virtual bool Validate(
Object^ value,
[OutAttribute] String^% validationError
) sealed
abstract Validate :
value : Object *
validationError : string byref -> bool
override Validate :
value : Object *
validationError : string byref -> bool function Validate(value, validationError);
View SourceParameters
- value Object
- The value to be validated.
- validationError String
- Error message returned if the value is invalid.
Return Value
Booleantrue if the
value is valid; otherwise
false.
Implements
IValidatorValidate(Object, String)
See Also