Specifies whether or not a ParseError
object can return multiple validation errors through the IXMLDOMParseError2
interface. To get all validation errors, set this property to true
. Otherwise, only a single validation error is returned. The default value is false
.
domObj.setProperty(strProp, vBool); vBool = domObj.getProperty(strProp);
domObj.setProperty(strProp, vBool) vBool = domObj.getProperty(strProp)
HRESULT setProperty(BSTR strProp, VARIANT vBool); HRESULT getProperty(BSTR strProp, VARIANT* vBool);
true/false
. The default value is true
.Multiple error messages result when non-fatal errors are encountered in a process (for example, validation). Non-fatal errors will not cause the process to stop immediately. If you set this property to false
, the process stops on the first error encountered.
The MultipleErrorMessages
property is supported by IXMLDOMDocument3
, together with IXMLDOMParseError2 and IXMLDOMParseErrorCollection
interfaces introduced in MSXML 5.0.
Component: MSXML 5.0 and later
Interface: IXMLDOMDocument2
Method: setProperty | getProperty
IXMLDOMParseError2 | IXMLDOMDocument3 | IXMLDOMParseErrorCollection