Compartilhar via


ISchemaStringCollection Interface

 

[This feature was only implemented for MSXML 6.0.]

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.

JScript Syntax

var oSchemaLocations = oISchema.schemaLocations;  

Visual Basic Syntax

Set oSchemaLocations = oISchema.schemaLocations  

C/C++ Syntax

HRESULT schemaLocations (ISchemaStringCollection** schemaLocations);  

Requirements

Implementation: msxml6.dll, msxml6.lib

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

Inheritance: interface.

Versioning

Implemented in: MSXML 6.0

See Also

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