In This Article

IParseError Interface

Provides the base requirements for an object that indicates a message, warning or error related to parsing.

public interface IParseError

Properties

ClassificationType

Gets the optional IClassificationType associated with the error.

IClassificationType ClassificationType { get; }

Property Value

IClassificationType:

The optional IClassificationType associated with the error.

Description

Gets the description of the error, which is displayed in the user interface.

string Description { get; }

Property Value

String:

The description of the error, which is displayed in the user interface.

Level

Gets a ParseErrorLevel indicating the error level.

ParseErrorLevel Level { get; }

Property Value

ParseErrorLevel:

A ParseErrorLevel indicating the error level.

PositionRange

Gets the TextPositionRange of the error.

TextPositionRange PositionRange { get; }

Property Value

TextPositionRange:

The TextPositionRange of the error.

Remarks

If no text position data is available for the error, the value should be TextPositionRange.Empty.

See Also