Click or drag to resize
MimeKit

HtmlTokenizerLineNumber Property

Get the current line number.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public int LineNumber { get; }

Property Value

Int32
The current line number.
Remarks

This property is most commonly used for error reporting, but can be called at any time. The starting value for this property is 1.

Combined with LinePosition, a value of 1,1 indicates the start of the document.

See Also