validate Method (IXMLDOMSchemaCollection2/XMLDOMSchemaCollection)
Performs run-time validation on the documents in the schema cache that have not been compiled and validated. If a schema has its validateOnLoad
property set to true
when it is loaded into the cache, the schema will be compiled and validated at that time. The validate
method is used when validateOnLoad
is set to false
. Steps 2 and 3 are postponed until the validate
method is called.
The Schema compilation steps are:
- Check Syntax and resolve names.
- Load and preprocess external schemas.
- Compile schema items respecting W3Cs rules.
[Script]
Script Syntax
objXMLSchemaCache.validate();
Return Value
None.
[Visual Basic]
Visual Basic Syntax
objXMLSchemaCache.validate
Return Value
None.
[C/C++]
C/C++ Syntax
HRESULT validate();
C/C++ Return Values
None.
See Also
Applies to: IXMLDOMSchemaCollection2/XMLDOMSchemaCollection