Method: IsValidEx (nXSDVersion as SPYValidateXSDVersion, nErrorLimit as int, nErrorFormat as SPYValidateErrorFormat, out strError as Variant) as Boolean
True if the document is valid, false if not.
IsValidEx validates the document against its associated schema or DTD.
nXSDVersion which is an enumeration value of SPYValidateXSDVersion that selects the XSD version to validate against.
nErrorLimit which is an integer. Values must be 1 to 999.
nErrorFormat which is an enumeration value of SPYValidateErrorFormat that selects the XSD version to validate against.
strError is the error message, and is the same as that received when validating the file within the GUI.
The object is no longer valid.
Invalid parameter or invalid address for the return parameter was specified.
Unable to validate file.