Partager via


SAXParseException.LineNumber Property

Definition

The line number of the end of the text where the exception occurred.

public virtual int LineNumber { [Android.Runtime.Register("getLineNumber", "()I", "GetGetLineNumberHandler")] get; }
[<get: Android.Runtime.Register("getLineNumber", "()I", "GetGetLineNumberHandler")>]
member this.LineNumber : int

Property Value

An integer representing the line number, or -1 if none is available.

Attributes

Remarks

The line number of the end of the text where the exception occurred.

The first line is line 1.

Java documentation for org.xml.sax.SAXParseException.getLineNumber().

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.

Applies to

See also