ReaderOptions Enumeration (System.Xml.Linq)

Switch View :
ScriptFree
.NET Framework Class Library
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)
Syntax

Visual Basic
<FlagsAttribute> _
Public Enumeration ReaderOptions
C#
[FlagsAttribute]
public enum ReaderOptions
Visual C++
[FlagsAttribute]
public enum class ReaderOptions
F#
[<FlagsAttribute>]
type ReaderOptions
Members

Member name Description
None No reader options specified.
OmitDuplicateNamespaces Omit duplicate namespaces when loading the XDocument.
Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference