System.Xml.XmlException.LinePosition Property

Gets the line position indicating where the error occurred.

Syntax

public int LinePosition { get; }

Value

A int containing the character position where the error occurred.

Remarks

This property is read-only.

The first character in the line is in position 1. Note that white space characters at the start of the line are not skipped.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0