XdmException.LineNumber PropertyXdmException.LineNumber PropertyXdmException::LineNumber Property

Gets the line number indicating where the error occurred.

Syntax

Public ReadOnly Property LineNumber As Integer
        Get
public int LineNumber { get; }
public:
property int LineNumber {
    int get();
}
 

Property Value

Type: System.Int32System.Int32System::Int32

The line number in which the error occurred, or -1 if the line position is not known.

Remarks

The line number is 1-indexed, that is a value of 1 represents the first character in the document.