XmlValidatingReader.Namespaces Property

Definition

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

public:
 property bool Namespaces { bool get(); void set(bool value); };
public bool Namespaces { get; set; }
member this.Namespaces : bool with get, set
Public Property Namespaces As Boolean

Property Value

true to do namespace support; otherwise, false. The default is true.

Remarks

Note

The XmlValidatingReader class is obsolete in .NET Framework 2.0. You can create a validating XmlReader instance by using the XmlReaderSettings class and the Create method. For more information, see the Remarks section of the XmlReader reference page.

Applies to

See also