Table of Contents

Class HtmlParseError

Namespace
HtmlAgilityPack
Assembly
HtmlAgilityPack.dll

Represents a parsing error found during document parsing.

public class HtmlParseError
Inheritance
HtmlParseError
Inherited Members

Properties

Code

Gets the type of error.

public HtmlParseErrorCode Code { get; }

Property Value

HtmlParseErrorCode

Line

Gets the line number of this error in the document.

public int Line { get; }

Property Value

int

LinePosition

Gets the column number of this error in the document.

public int LinePosition { get; }

Property Value

int

Reason

Gets a description for the error.

public string Reason { get; }

Property Value

string

SourceText

Gets the the full text of the line containing the error.

public string SourceText { get; }

Property Value

string

StreamPosition

Gets the absolute stream position of this error in the document, relative to the start of the document.

public int StreamPosition { get; }

Property Value

int