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);
true to support namespaces; otherwise, false.
Default is true.
Exception Type | Condition |
---|---|
InvalidOperationException | You can only change this property when in the WriteState.Start state. |
XmlTextWriter Class | XmlTextWriter Members | System.NewXml Namespace