System.Xml.XPath.XPathNavigator.SchemaInfo Property

Gets the schema information that has been assigned to the current node as a result of schema validation.

Syntax

public virtual System.Xml.Schema.IXmlSchemaInfo SchemaInfo { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Schema information can be set on XPathNodeType.Element, XPathNodeType.Attribute, or on XPathNodeType.Text nodes with a non-null XPathNavigator.ValueType. If the current node is not one of the above node types, or if the System.Xml.XPath.XPathNavigator instance does not report schema information, the XPathNavigator.SchemaInfo property returns null.

Requirements

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