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!

XmlTextWriter.XmlSpace

Gets an XmlSpace representing the current xml:space scope.

[Visual Basic]
Overridable Public ReadOnly Property XmlSpace As XmlSpace
[C#]
public XmlSpace XmlSpace {override get;}
[C++]
public: __property virtual XmlSpace get_XmlSpace();
[JScript]
public 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

XmlTextWriter Class | XmlTextWriter Members | System.NewXml Namespace