|
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.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
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