This documentation is archived and is not being maintained.

XmlWriter.XmlSpace Property

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

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

Property Value

An XmlSpace representing the current xml:space scope.

Value Meaning
None This is the default if no xml:space scope exists.
Default The current scope is xml:space="default".
Preserve The current scope is xml:space="preserve".

Remarks

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

Requirements

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

XmlWriter Class | XmlWriter Members | System.Xml Namespace

Show: