public Validate ( InputNode node, Class type ) : bool | ||
node | InputNode | /// this provides the source of the XML document /// |
type | Class | /// this is the class type to be validated against XML /// |
Résultat | bool |
validate
method will validate the contents of the XML document against the specified XML class schema. This is used to perform a read traversal of the class schema such that the document can be tested against it. This is preferred to reading the document as it does not instantiate the objects or invoke any callback methods, thus making it a safe validation. public Validate ( InputNode node, Class type ) : bool | ||
node | InputNode | /// this provides the source of the XML document /// |
type | Class | /// this is the class type to be validated against XML /// |
Résultat | bool |