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
public bool Validate(
	string value,
	out Object result
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.
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: (