add Method
Adds a new schema to the schema collection and associates the given namespace Uniform Resource Identifier (URI) with the specified schema.
objXMLDOMSchemaCol.add(namespaceURI, var);
HRESULT add(
BSTR namespaceURI,
VARIANT var
);
General Remarks
Schemas referenced by this schema are not added to the collection. The contents of the schema are added to the internal collection. (The schema may be copied.). If a schema is already in the collection with this namespace, it will be replaced by the new one.
This method applies to the following objects and interfaces:
DOMDocument, IXMLDOMNode, and XMLSchemaCache/IXMLDOMSchemaCollection.
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.