MalformedLineException.LineNumber Property

Definition

Gets the line number of the malformed line.

public:
 property long LineNumber { long get(); void set(long value); };
public long LineNumber { get; set; }
member this.LineNumber : int64 with get, set
Public Property LineNumber As Long

Property Value

Int64

The line number of the malformed line.

Remarks

If the ReadFields method cannot parse a row using the specified format, the MalformedLineException exception is thrown. The exception contains the line number of the malformed line.

Applies to

See also