System.Xml.Schema.XmlSchemaSet Members

The members of System.Xml.Schema.XmlSchemaSet are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Xml.Schema.XmlSchemaSet class.

Initializes a new instance of the System.Xml.Schema.XmlSchemaSet class with the specified System.Xml.XmlNameTable.

Public Properties

CompilationSettingsXmlSchemaCompilationSettings.

Gets or sets the System.Xml.Schema.XmlSchemaCompilationSettings for the System.Xml.Schema.XmlSchemaSet.

[read-only]
Countint.

Gets the number of logical XML Schema definition language (XSD) schemas in the System.Xml.Schema.XmlSchemaSet.

[read-only]
GlobalAttributesXmlSchemaObjectTable.

Gets all the global attributes in all the XML Schema definition language (XSD) schemas in the System.Xml.Schema.XmlSchemaSet.

[read-only]
GlobalElementsXmlSchemaObjectTable.

Gets all the global elements in all the XML Schema definition language (XSD) schemas in the System.Xml.Schema.XmlSchemaSet.

[read-only]
GlobalTypesXmlSchemaObjectTable.

Gets all of the global simple and complex types in all the XML Schema definition language (XSD) schemas in the System.Xml.Schema.XmlSchemaSet.

[read-only]
IsCompiledbool.

Gets a value that indicates whether the XML Schema definition language (XSD) schemas in the System.Xml.Schema.XmlSchemaSet have been compiled.

[read-only]
NameTableSystem.Xml.XmlNameTable.

Gets the default System.Xml.XmlNameTable used by the System.Xml.Schema.XmlSchemaSet when loading new XML Schema definition language (XSD) schemas.

[write-only]
XmlResolverSystem.Xml.XmlResolver.

Sets the System.Xml.XmlResolver used to resolve namespaces or locations referenced in include and import elements of a schema.

Public Methods

Add(XmlSchema) : XmlSchema

Adds the given System.Xml.Schema.XmlSchema to the System.Xml.Schema.XmlSchemaSet.

Add(XmlSchemaSet)

Adds all the XML Schema definition language (XSD) schemas in the given System.Xml.Schema.XmlSchemaSet to the System.Xml.Schema.XmlSchemaSet.

Add(string, string) : XmlSchema

Adds the XML Schema definition language (XSD) schema at the URL specified to the System.Xml.Schema.XmlSchemaSet.

Add(string, System.Xml.XmlReader) : XmlSchema

Adds the XML Schema definition language (XSD) schema contained in the System.Xml.XmlReader to the System.Xml.Schema.XmlSchemaSet.

Compile()

Compiles the XML Schema definition language (XSD) schemas added to the System.Xml.Schema.XmlSchemaSet into one logical schema.

Contains(string) : bool

Indicates whether an XML Schema definition language (XSD) schema with the specified target namespace URI is in the System.Xml.Schema.XmlSchemaSet.

Contains(XmlSchema) : bool

Indicates whether the specified XML Schema definition language (XSD) System.Xml.Schema.XmlSchema object is in the System.Xml.Schema.XmlSchemaSet.

CopyTo(XmlSchema[], int)

Copies all the System.Xml.Schema.XmlSchema objects from the System.Xml.Schema.XmlSchemaSet to the given array, starting at the given index.

Remove(XmlSchema) : XmlSchema

Removes the specified XML Schema definition language (XSD) schema from the System.Xml.Schema.XmlSchemaSet.

RemoveRecursive(XmlSchema) : bool

Removes the specified XML Schema definition language (XSD) schema and all the schemas it imports from the System.Xml.Schema.XmlSchemaSet.

Reprocess(XmlSchema) : XmlSchema

Reprocesses an XML Schema definition language (XSD) schema that already exists in the System.Xml.Schema.XmlSchemaSet.

Schemas() : ICollection

Returns a collection of all the XML Schema definition language (XSD) schemas in the System.Xml.Schema.XmlSchemaSet.

Schemas(string) : ICollection

Returns a collection of all the XML Schema definition language (XSD) schemas in the System.Xml.Schema.XmlSchemaSet that belong to the given namespace.

Public Events

ValidationEventHandler

Specifies an event handler for receiving information about XML Schema definition language (XSD) schema validation errors.