Org.Xml.Sax.ILocator.LineNumber Property
Return the line number where the current document event ends.

Syntax

[get: Android.Runtime.Register("getLineNumber", "()I", "GetGetLineNumberHandler:Org.Xml.Sax.ILocatorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int LineNumber { get; }

See Also

ILocator.ColumnNumber

Value

Documentation for this section has not yet been entered.

Remarks

Return the line number where the current document event ends. Lines are delimited by line ends, which are defined in the XML specification.

Warning: The return value from the method is intended only as an approximation for the sake of diagnostics; it is not intended to provide sufficient information to edit the character content of the original XML document. In some cases, these "line" numbers match what would be displayed as columns, and in others they may not match the source text due to internal entity expansion.

The return value is an approximation of the line number in the document entity or external parsed entity where the markup triggering the event appears.

If possible, the SAX driver should provide the line position of the first character after the text associated with the document event. The first line is line 1.

[Android Documentation]

Requirements

Namespace: Org.Xml.Sax
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1