System.Xml.XmlTextWriter.XmlSpace Property

Gets an System.Xml.XmlSpace representing the current xml:space scope.

Syntax

public override XmlSpace XmlSpace { get; }

Value

One of the members of the System.Xml.XmlSpace enumeration, or XmlSpace.None if the white space attribute is not specified for the element.

Remarks

Note:

In the dnprdnext release, the recommended practice is to create System.Xml.XmlWriter instances using the erload:System.Xml.XmlWriter.Create method and the System.Xml.XmlWriterSettings class. This allows you to take full advantage of all the new features introduced in this release. For more information, see Creating XML Writers.

This property allows one component to find out in what state another component has left the writer.

Requirements

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