ReaderOptions Enumeration


Specifies whether to omit duplicate namespaces when loading an XDocument with an XmlReader.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Xml.Linq
Assembly:  System.Xml.Linq (in System.Xml.Linq.dll)

public enum ReaderOptions

Member nameDescription

No reader options specified.


Omit duplicate namespaces when loading the XDocument.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top