Share via


addCollection Method

Adds schemas from another collection into the current collection and replaces any schemas that collide on the same namespace Uniform Resource Identifier (URI).

objXMLDOMSchemaCol.addCollection(objXMLDOMSchemaCollection);

HRESULT addCollection(
  IXMLDOMSchemaCollection* otherCollection
);

General Remarks

There is no guarantee that the two collections will return exactly the same schema. The collection is free to clone them, if necessary.

Adding a collection to itself has no effect.

This method applies to the following interface:

XMLSchemaCache/IXMLDOMSchemaCollection.

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.