MalformedLineException.LineNumber Property

 

Gets the line number of the malformed line.

Namespace:   Microsoft.VisualBasic.FileIO
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public long LineNumber { get; set; }

Property Value

Type: System.Int64

The line number of the malformed line.

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.

.NET Framework
Available since 2.0
Return to top
Show: