ReaderOptions Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ReaderOptions
[FlagsAttribute]
public enum ReaderOptions

Members

Member name Description
Supported by Silverlight for Windows PhoneSupported by Xbox 360 None No reader options specified.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 OmitDuplicateNamespaces Omit duplicate namespaces when loading the XDocument.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference