Persistate API documentation
Validate Method (value, result)
NamespacesPersistateDataClassValidate(String, Object%)

[This is preliminary documentation and is subject to change.]

Validates the contents of a given string against the DataClass.
Declaration Syntax
C#
public bool Validate(
	string value,
	out Object result
)
Parameters
value (String)
The string to validate.
result (Object%)
A string containing an error message produced if validation fails. The parsed object if validation succeeds.
Return Value
True if validation succeeds, else false.
Remarks
There are two stages to the validation. First, the string must conform to the correct textual representation of the base data type. Secondly any validation imposed by the particular definition of this data class is performed, such as bound checking.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)