|
IValidatorValidate Method
|
Determines whether or not the specified value is valid.
Namespace: GSF.ValidationAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
Syntaxbool Validate(
Object value,
out string validationError
)
Function Validate (
value As Object,
<OutAttribute> ByRef validationError As String
) As Boolean
bool Validate(
Object^ value,
[OutAttribute] String^% validationError
)
abstract Validate :
value : Object *
validationError : string byref -> bool
function Validate(value, validationError);
Parameters
- 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.
See Also