My.Computer.FileSystem.SpecialDirectories Object
Visual Studio 2008
Provides properties for accessing commonly referenced directories.
If the path for the referenced directory is empty, usually due to the operating system not supporting the directory, a DirectoryNotFoundException exception is thrown.
No backslash (\) appears at the end of the path.
The following table lists examples of tasks involving the My.Computer.FileSystem.SpecialDirectories object.
To | See |
|---|---|
Read from the MyDocuments directory | How to: Retrieve the Contents of the My Documents Directory in Visual Basic |
Namespace: Microsoft.VisualBasic.MyServices
Class: SpecialDirectoriesProxy (provides access to SpecialDirectories)
Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)