Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Adds schemas from another collection into the current collection and replaces any schemas that collide on the same namespace Uniform Resource Identifier (URI).
Script Syntax
Copy Code | |
---|---|
objXMLDOMSchemaCol.addCollection( objXMLDOMSchemaCollection); |
Remarks
Script Parameters
- objXMLDOMSchemaCollection
-
The collection containing the schemas to add.
Script Return Value
None
C/C++ Syntax
Copy Code | |
---|---|
HRESULT addCollection( IXMLDOMSchemaCollection* otherCollection ); |
Remarks
C/C++ Parameters
- objXMLDOMSchemaCollection
-
[in] The collection containing the schemas to add.
C/C++ Return Value
- S_OK
-
Value returned if the collection is added successfully.
- E_FAIL is returned if:
-
- the collection is read-only.
- the document is not a recognized schema.
- an error occurs when compiling the schema.
- the ready state of the document is not 4.
- the collection is read-only.
- E_POINTER
-
Value returned if input pointer is invalid.
C/C++ Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib
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:
See Also
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.