Export (0) Print
Expand All

XmlSchemaCollection.Add Method

Adds the given schema into the schema collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Add(XmlSchema) Adds the XmlSchema to the collection.
Public method Add(XmlSchemaCollection) Adds all the namespaces defined in the given collection (including their associated schemas) to this collection.
Public method Add(String, String) Adds the schema located by the given URL into the schema collection.
Public method Add(String, XmlReader) Adds the schema contained in the XmlReader to the schema collection.
Public method Add(XmlSchema, XmlResolver) Adds the XmlSchema to the collection. The specified XmlResolver is used to resolve any external references.
Public method 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.
Top

Important noteImportant Note:

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

Community Additions

ADD
Show:
© 2014 Microsoft