LocationTextFieldParser.EndOfData SyntaxDim fileParser As FileIO.TextFieldParser ' ...later... Dim result As Boolean = fileParser.EndOfData DescriptionThe EndOfData property indicates whether the parser has passed the final valid data record in the file (TRue) or not (False). Usage at a Glance
ExampleThe EndOfData property provides a convenient method to check for the end of the input data when parsing the entire contents of a file. Dim fileParser As FileIO.TextFieldParser ' ...later... Do While Not fileParser.EndOfData ' ----- Read and process one record of data here. Loop fileParser.Close Related Framework Entries
See AlsoClose Method, LineNumber Property, PeekChars Method, ReadFields Method, ReadLine Method, ReadToEnd Method, TextFieldParser Object |