Share via


XMLSchemaCache/IXMLDOMSchemaCollection

Used by the schemas and namespaces properties on IXMLDOMDocument2.

The IXMLDOMSchemaCollection implementation supports the following interface through QueryInterface.

Interface Usage
IID_EnumVARIANT Returns an IEnumVARIANT. Enumerates the namespace Uniform Resource Identifiers (URIs).

Return Values

  • E_FAIL
    Attempted to modify a read-only object; argument is not a valid schema; invalid namespace URI; or document is not ready.
  • E_INVALIDARG
    The parameter is incorrect.
  • E_OUTOFMEMORY
    Out of memory.
  • E_POINTER
    Invalid pointer.

Remarks

The XMLSchemaCache object is free-threaded and can be used in multiple documents at the same time. A single schema document can belong to multiple schema collections and will remain read-only until it is removed from all collections. Schema documents belonging to a collection must be free-threaded.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.

Setting Version-independent Version-dependent
ProgID Msxml2.XMLSchemaCache Msxml2.XMLSchemaCache.3.0
CLSID 373984C9-B845-449B-91E7-45AC83036ADE f5078f34-c551-11d3-89b9-0000f81fe221

See Also

IXMLDOMDocument2 | XMLSchemaCache/IXMLDOMSchemaCollection Members

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.