Click or drag to resize

ExtensionMethodsGetSubtreeReader Method

Gets a new subtree reader which is prepared and is positioned at the same node the passed in reader is on, so any subsequential read moves automatically to any subelements available

Namespace:  SD.LLBLGen.Pro.Core.Xml
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public static XmlReader GetSubtreeReader(
	this XmlReader reader
)

Parameters

reader
Type: System.XmlXmlReader
The reader.

Return Value

Type: XmlReader

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XmlReader. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also