Provides properties for accessing commonly referenced directories.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Gets a path name pointing to the Application Data directory for the all users.
Gets a path name pointing to the Application Data directory for the current user.
Gets a path name pointing to the Desktop directory.
Gets a path name pointing to the My Documents directory.
Gets a path name pointing to the My Music directory.
Gets a path name pointing to the My Pictures directory.
Gets a path pointing to the Program Files directory.
Gets a path name pointing to the Programs directory.
Gets a path name pointing to the Temp directory.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
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.
Read from the MyDocuments directory
Windows Control Library
Web Control Library
Available since 2.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.