System.Xml.XmlDocument.Schemas Property

Gets or sets the System.Xml.Schema.XmlSchemaSet object associated with this System.Xml.XmlDocument.

Syntax

public System.Xml.Schema.XmlSchemaSet Schemas { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The schemas contained in an System.Xml.Schema.XmlSchemaSet object associated with an System.Xml.XmlDocument object are used for validation when the erload:System.Xml.XmlDocument.Validate method of an System.Xml.XmlDocument is executed.

When an System.Xml.XmlDocument object is initialized with XML data from an System.Xml.XmlReader object, the System.Xml.Schema.XmlSchemaSet object is loaded from the XmlReaderSettings.Schemas property of the System.Xml.XmlReader object.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0