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

Syntax

[System.Xml.Serialization.XmlRoot("schema", Namespace="http://www.w3.org/2001/XMLSchema")]
public class XmlSchema : XmlSchemaObject

Remarks

Note:

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.

Requirements

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