Mono Class Library: System.Xml.XmlTextReader Overview | Members

System.Xml.XmlTextReader.XmlSpace Property

Gets the current xml:space scope. [Edit]

public override XmlSpace XmlSpace { get; }

Value

One of the members of the System.Xml.XmlSpace enumeration. If no xml:space scope exists, this property defaults to XmlSpace.None. [Edit]

Remarks

This property is read-only.

Note:

The System.Xml.XmlTextReader class has no DTD information available; therefore, SignificantWhitespace nodes are only returned when inside the scope of xml:space = "preserve".

This property overrides XmlReader.XmlSpace.

[Edit]

Requirements

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