XmlSpace Property
Collapse the table of content
Expand the table of content

XmlWriter.XmlSpace Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public virtual XmlSpace XmlSpace { get; }

Property Value

Type: System.Xml.XmlSpace
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".

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft