Returns a collection of all the XML Schema definition language (XSD) schemas in the System.Xml.Schema.XmlSchemaSet.
An ICollection object containing all the schemas that have been added to the System.Xml.Schema.XmlSchemaSet. If no schemas have been added to the System.Xml.Schema.XmlSchemaSet, an empty ICollection object is returned.
This method returns schemas that were added indirectly to the System.Xml.Schema.XmlSchemaSet because they were imported.
The XmlSchemaSet.Schemas method is the equivalent of the XmlSchemaCollection.GetEnumerator method of the obsolete System.Xml.Schema.XmlSchemaCollection.