CustomXMLSchema.Reload Method
Reloads a schema from a file.
Note
|
|---|
| References to DTDs from custom XML parts are not supported. DTD references in custom XML parts will not resolve, and custom XML parts containing DTD references generate an exception when an attempt is made to save the file's content to a flat XML file. |
Syntax
expression.Reload
expression An expression that returns a CustomXMLSchema object.
Remarks
Typically, this method is used to update the location of the schema or to determine if the schema is still valid. It is also useful for reloading a schema that frequently changes. If this action is attempted on a schema in a collection that is already validated or tied to a data stream, then the operation is not performed and an error message is displayed.
Example
The following example specifies the location of the schema and then reloads it.
| Visual Basic for Applications |
|---|
|
Note