Gets or sets a value indicating whether the writer supports namespaces.
A bool where true indicates the writer supports namespaces; otherwise, false. The default is true.
Type Reason InvalidOperationException The XmlTextWriter.WriteState of the current instance is not WriteState.Start.
This property determines whether the writer supports the XML Namespaces specification (http://www.w3.org/TR/REC-xml-names).
If an attempt is made to set this property after a write operation has occurred, a InvalidOperationException is thrown.