|
IValidatorValidate Method
|
Determines whether or not the specified value is valid.
Namespace: GSF.ValidationAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
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