Indicates whether an XML Schema definition language (XSD) schema with the specified target namespace URI is in the System.Xml.Schema.XmlSchemaSet.
true if a schema with the specified target namespace URI is in the System.Xml.Schema.XmlSchemaSet; otherwise, false.
Schemas that are indirectly added to the System.Xml.Schema.XmlSchemaSet are detected by the XmlSchemaSet.Contains(string) method; for example, imported schemas. As a result, if a schema for the http://www.contoso.com/retail namespace which imports a schema for the http://www.contoso.com/books namespace is added to the System.Xml.Schema.XmlSchemaSet, calling XmlSchemaSet.Contains(string) with http://www.contoso.com/books as a parameter, it returns true.