ISchemaStringCollection Interface

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SOM Reference

ISchemaStringCollection Interface

Provides an object to store an indexed string collection. The string collection is used to store fields, schemaLocations values (URIs), namespaces, or enumerations. The following table lists properties and the types of items they return in their string collections.

Property Items returned in string collection
ISchemaIdentityConstraint.fields fields
ISchema.schemaLocations schema namespace URIs
ISchemaType.enumeration enumerations
ISchemaAny.namespaces namespaces

For more information about each of these properties, see the sections for the ISchemaIdentityConstraint, ISchema, ISchemaType, and ISchemaAny interfaces.

Properties

item Retrieves the strings for the index sent to this function.
length Retrieves the number of strings in the collection.

[Script]

Implementation Syntax

var oSchemaLocations = oISchema.schemaLocations;
[Visual Basic]

Implementation Syntax

Set oSchemaLocations = oISchema.schemaLocations
[C/C++]

Implementation Syntax

HRESULT schemaLocations (ISchemaStringCollection** schemaLocations);

Versioning

MSXML 4.0 and later

Requirements

[Visual Basic, C/C++]

Implementation: msxml5.dll, msxml2.lib

[C/C++]

Header and LIB files: msxml2.h, msxml2.lib, msxml2.idl

Inheritance: None.

To view reference information for Visual Basic or C/C++ only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

ISchemaIdentityConstraint Interface | ISchema Interface | schemaLocations Property | ISchemaType Interface | ISchemaAny Interface | SOM Reference