Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

Microsoft.VisualBasic.FileIO Namespace

The Microsoft.VisualBasic.FileIO namespace contains types that support the My file system object in Visual Basic.

For more information about the My system object, see FileSystem.

  Class Description
Public class FileSystem Provides properties and methods for working with drives, files, and directories.
Public class MalformedLineException The exception that is thrown when the ReadFields method cannot parse a row using the specified format.
Public class SpecialDirectories Provides properties for accessing commonly referenced directories.
Public class TextFieldParser Provides methods and properties for parsing structured text files.

  Enumeration Description
Public enumeration DeleteDirectoryOption Specifies what should be done when a directory that is to be deleted contains files or directories.
Public enumeration FieldType Indicates whether text fields are delimited or fixed width.
Public enumeration RecycleOption Specifies whether a file should be deleted permanently or placed in the Recycle Bin.
Public enumeration SearchOption Specifies whether to search all or only top-level directories.
Public enumeration UICancelOption Specifies whether an exception is thrown if the user clicks Cancel during an operation.
Public enumeration UIOption Specifies which dialog boxes to show when copying, deleting, or moving files or directories.
© 2015 Microsoft