IXmlPullParser.LineNumber Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the current line number.
public int LineNumber { [Android.Runtime.Register("getLineNumber", "()I", "GetGetLineNumberHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getLineNumber", "()I", "GetGetLineNumberHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.LineNumber : int
Property Value
The current line number, or -1 if the parser cannot determine it. The XML pull-parser contract specifies a one-based line number; XmlReaderPullParser subtracts 1 from the wrapped reader's line number.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.