System.Xml.Schema.XmlSchema Class

An in-memory representation of an XML Schema as specified in the World Wide Web Consortium (W3C) XML Schema Part 1: Structures and XML Schema Part 2: Datatypes specifications.

See Also: XmlSchema Members


[System.Xml.Serialization.XmlRoot("schema", Namespace="")]
public class XmlSchema : XmlSchemaObject



Exceptions raised as a result of using the System.Xml.Schema.XmlSchema class, such as the System.Xml.Schema.XmlSchemaException class may contain sensitive information that should not be exposed in untrusted scenarios. For example, the XmlSchemaException.SourceUri property of an System.Xml.Schema.XmlSchemaException returns the URI path to the schema file that caused the exception. The XmlSchemaException.SourceUri property should not be exposed in untrusted scenarios. Exceptions should be properly handled so that this sensitive information is not exposed in untrusted scenarios.


Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0,,