A int containing the current line position.
In the dnprdnext release, the recommended practice is to create System.Xml.XmlReader instances using the erload:System.Xml.XmlReader.Create method. This allows you to take full advantage of the new features introduced in this release. For more information, see Creating XML Readers.
This property is most commonly used for error reporting, but can be called at any time. The property's starting value is 1.
The position indicated is the first character of text in the markup.
Example
<root> abc<tag/> </root>
On the first line of the preceding XML text, a LinePosition of 2 corresponds to the character r; on the second line, a LinePosition of 5 corresponds to the character t; and on the third line, a LinePosition of 3 corresponds to the character r.
Combined with XmlTextReader.LineNumber, a value of 1,1 indicates the start of the document.