XNode.CreateReader Method (ReaderOptions)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Function CreateReader (
	readerOptions As ReaderOptions
) As XmlReader

Parameters

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 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: