CreateReader Method (ReaderOptions)
Collapse the table of content
Expand the table of content

XNode.CreateReader Method (ReaderOptions)


Creates an XmlReader with the options specified by the readerOptions parameter.

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

public XmlReader CreateReader(
	ReaderOptions readerOptions


Type: System.Xml.Linq.ReaderOptions

A ReaderOptions object that specifies whether to omit duplicate namespaces.

Return Value

Type: System.Xml.XmlReader

An XmlReader object.

Universal Windows Platform
Available since 4.5
.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
© 2015 Microsoft