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.Namespaces

Gets or sets a value indicating whether to do namespace support.

[Visual Basic]
Public Property Namespaces As Boolean
[C#]
public bool Namespaces {get; set;}
[C++]
public: __property bool get_Namespaces();
public: __property void set_Namespaces(bool);
[JScript]
public function get Namespaces() : Boolean;
public function set Namespaces(Boolean);

Property Value

true to support namespaces; otherwise, false.

Default is true.

Exceptions

Exception Type Condition
InvalidOperationException You can only change this property when in the WriteState.Start state.

See Also

XmlTextWriter Class | XmlTextWriter Members | System.NewXml Namespace