This documentation is archived and is not being maintained.

XmlReader.XmlSpace Property

When overridden in a derived class, gets the current xml:space scope.

[Visual Basic]
Public MustOverride ReadOnly Property XmlSpace As XmlSpace
public abstract XmlSpace XmlSpace {get;}
public: __property virtual XmlSpace get_XmlSpace() = 0;
public abstract function get XmlSpace() : XmlSpace;

Property Value

One of the XmlSpace values. If no xml:space scope exists, this property defaults to XmlSpace.None.


See XmlSpace (in the XmlTextReader class) for an example using this property.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace