XmlSchemaCollection.Add Method

 

Adds the given schema into the schema collection.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

NameDescription
System_CAPS_pubmethodAdd(String, String)

Adds the schema located by the given URL into the schema collection.

System_CAPS_pubmethodAdd(String, XmlReader)

Adds the schema contained in the XmlReader to the schema collection.

System_CAPS_pubmethodAdd(String, XmlReader, XmlResolver)

Adds the schema contained in the XmlReader to the schema collection. The specified XmlResolver is used to resolve any external resources.

System_CAPS_pubmethodAdd(XmlSchema)

Adds the XmlSchema to the collection.

System_CAPS_pubmethodAdd(XmlSchema, XmlResolver)

Adds the XmlSchema to the collection. The specified XmlResolver is used to resolve any external references.

System_CAPS_pubmethodAdd(XmlSchemaCollection)

Adds all the namespaces defined in the given collection (including their associated schemas) to this collection.

System_CAPS_importantImportant

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

Return to top
Show: