Gets or sets a value indicating whether the reader supports namespaces.
A bool where true indicates the reader supports namespaces; otherwise, false. The default is true.
Type Reason InvalidOperationException When attempting to set the property, the XmlTextReader.ReadState was not ReadState.Initial.
This property determines whether the reader supports the XML Namespaces specification (http://www.w3.org/TR/REC-xml-names). If this property is false, namespaces are ignored and the reader allows names to contain multiple colon characters.
If an attempt is made to set this property after a read operation has occurred, a InvalidOperationException is thrown.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0