Returns a string collection. This collection contains all of the URIs that are imported to or included in the XML Schema object being used. Each URI in the XML Schema is represented by a string item in the collection. The URI text is retrieved by using the item
property of the ISchemaStringCollection
.
The following VBScript example shows how to lists the URIs of the imported or included XML Schemas.
Set oSchemaCache = CreateObject("Msxml2.XMLSchemaCache.5.0") oSchemaCache.add "", "po.xsd" Set oSchema = oSchemaCache.getSchema("") For Each oURI in oSchema.schemaLocations WScript.Echo oURI Next
var oSchemaLocations = oISchema.schemaLocations;
None.
Set oSchemaLocations = oISchema.schemaLocations
None.
HRESULT get_schemaLocations (ISchemaStringCollection** schemaLocations);
schemaLocations
collection is NULL.To view reference information for Visual Basic or C/C++ only, click the Language Filter button in the upper-left corner of the page.
ISchemaStringCollection Interface | Using Other Namespaces
Applies to: ISchema Interface