Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader.LineNumber Property |
Gets the current line number. [Edit]
|
A int containing the current line number. [Edit]
This property is read-only.
The constructors initialize this property to one.
Note:[Edit]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.LinePosition property is 1.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0