Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader.LinePosition Property |
Gets the current position in a line. [Edit]
|
A int containing the current line position. [Edit]
This property is read-only.
The constructors initialize this property to one, which indicates the first character of text in a line.
Note:[Edit]For example, <root>, contains the character 'r' at XmlTextReader.LinePosition equal to 2 and the character '>' at XmlTextReader.LinePosition equal to 6.
This property is most commonly used for error reporting, but can be called at any time.
The start of a document is indicated when this property is 1 and the XmlTextReader.LineNumber property is 1.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0