XmlSchemaCollection.Add Method

Adds the given schema into the schema collection.

Name Description
XmlSchemaCollection.Add (XmlSchema) Adds the XmlSchema to the collection.
XmlSchemaCollection.Add (XmlSchemaCollection) Adds all the namespaces defined in the given collection (including their associated schemas) to this collection.
XmlSchemaCollection.Add (String, String) Adds the schema located by the given URL into the schema collection.
XmlSchemaCollection.Add (String, XmlReader) Adds the schema contained in the XmlReader to the schema collection.
XmlSchemaCollection.Add (XmlSchema, XmlResolver) Adds the XmlSchema to the collection. The specified XmlResolver is used to resolve any external references.
XmlSchemaCollection.Add (String, XmlReader, XmlResolver) Adds the schema contained in the XmlReader to the schema collection. The specified XmlResolver is used to resolve any external resources.

Community Additions

ADD
Show: