Click or drag to resize

XmlExtensionMethodsPrepareReaderForFirstRead Method

Prepares the reader for first read. This means that if the reader is in the initial state, a Read is executed. If the first read then sees an XML declaration, it's skipped as well

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public static void PrepareReaderForFirstRead(
	this XmlReader reader
)

Parameters

reader
Type: System.XmlXmlReader
The reader.

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