Add Method

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.

NoteImportant:

The XmlSchemaCollection class is obsolete in the .NET Framework version 2.0 and has been replaced by the XmlSchemaSet class.

Community Additions

ADD
Show:
© 2016 Microsoft