NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlWriter.XmlSpace

Gets an XmlSpace representing the current xml:space scope.

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

Property Value

The current xml:space scope.

Value Meaning
None (0) This is the default if no xml:space scope exists
Default (1) In the scope of xml:space="default"
Preserve (2) In the scope of xml:space="preserve".

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

See Also

XmlWriter Class | XmlWriter Members | System.NewXml Namespace