LocatorImpl.LineNumber Property

Definition

Return the saved line number (1-based). -or- Set the line number for this locator (1-based).

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

Property Value

The line number as an integer, or -1 if none is available.

Attributes

Remarks

Property getter documentation:

Return the saved line number (1-based).

Java documentation for org.xml.sax.helpers.LocatorImpl.getLineNumber().

Property setter documentation:

Set the line number for this locator (1-based).

Java documentation for org.xml.sax.helpers.LocatorImpl.setLineNumber(int).

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