CustomXMLSchema.Delete Method
Deletes the specified schema from the CustomXMLSchema collection.
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.Delete
expression An expression that returns a CustomXMLSchema object.
Remarks
If this operation is attempted on a schema in a collection that is already validated or attached to a data stream, then the operation is not performed and an error message is displayed.
Example
The following example adds a schema to the collection and then deletes the schema.
| Visual Basic for Applications |
|---|
|
Note