Microsoft.VisualBasic.FileIO Namespace
The Microsoft.VisualBasic.FileIO namespace contains types that support the My file system object in Visual Basic.
| Class | Description | |
|---|---|---|
![]() | FileSystem | Provides properties and methods for working with drives, files, and directories. |
![]() | MalformedLineException | The exception that is thrown when the ReadFields method cannot parse a row using the specified format. |
![]() | SpecialDirectories | Provides properties for accessing commonly referenced directories. |
![]() | TextFieldParser | Provides methods and properties for parsing structured text files. |
| Enumeration | Description | |
|---|---|---|
![]() | DeleteDirectoryOption | Specifies what should be done when a directory that is to be deleted contains files or directories. |
![]() | FieldType | Indicates whether text fields are delimited or fixed width. |
![]() | RecycleOption | Specifies whether a file should be deleted permanently or placed in the Recycle Bin. |
![]() | SearchOption | Specifies whether to search all or only top-level directories. |
![]() | UICancelOption | Specifies whether an exception is thrown if the user clicks Cancel during an operation. |
![]() | UIOption | Specifies which dialog boxes to show when copying, deleting, or moving files or directories. |
For more information about the My system object, see FileSystem.

