XmlReaderSettings.LinePositionOffset Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets line position offset of the XmlReader object.
Assembly: System.Xml (in System.Xml.dll)
The LinePositionOffset setting determines the point where the LinePosition property starts counting. This is useful if your XML data is embedded within a larger document and there is no new line at the beginning of the XML. In this case, if the reader throws an exception while parsing the XML, you want it to return the line position relative to the main document, not just relative to the XML fragment.