Close Method


Close Method

Location

TextFieldParser.Close

Syntax

     Dim fileParser As FileIO.TextFieldParser         ' ...later...     fileParser.Close(  ) 

Description

The Close method closes the file represented by a TextFieldParser object and ends the active parsing process.

Usage at a Glance

You must close the TextFieldParser object when finished with it. Use the object's Close method or create the object instance with the Using keyword. See the TextFieldParser Object entry in this chapter for an example.

Related Framework Entries

  • Microsoft.VisualBasic.FileIO.TextFieldParser.Close Method

See Also

EndOfData Property, ReadFields Method, ReadLine Method, ReadToEnd Method, TextFieldParser Object




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net