Specifies enumerated constants used to retrieve directory paths to system special folders.
| C# | Visual Basic |
public enum SpecialFolder
Public Enumeration SpecialFolder
| Member | Description |
|---|---|
| Desktop |
The logical Desktop rather than the physical file system location.
Not supported in Windows Mobile. |
| Programs |
The directory that contains the user's program groups.
|
| Personal |
The directory that serves as a common repository for documents.
|
| MyDocuments |
The "My Documents" folder.
|
| Favorites |
The directory that serves as a common repository for the user's favorite items.
|
| Startup |
The directory that corresponds to the user's Startup program group.
The system starts these programs whenever a user starts Windows CE.
|
| Recent |
The directory that contains the user's most recently used documents.
Not supported in Windows Mobile. |
| SendTo |
The directory that contains the Send To menu items.
Not supported in Windows Mobile. |
| StartMenu |
The directory that contains the Start menu items.
|
| MyMusic |
The "My Music" folder.
Requires Windows Mobile |
| MyVideo |
The file system directory that serves as a repository for videos that belong to a user.
Requires Windows Mobile |
| DesktopDirectory |
The directory used to physically store file objects on the desktop.
Do not confuse this directory with the desktop folder itself, which is a virtual folder.
Not supported in Windows Mobile. |
| Fonts |
The Fonts folder.
|
| ApplicationData |
The directory that serves as a common repository for application-specific data for the current user.
|
| Windows |
The Windows folder.
|
| ProgramFiles |
The program files directory.
|
| MyPictures |
The "My Pictures" folder.
Requires Windows Mobile |
| HasFlag |
Determines whether one or more bit fields are set in the current instance.
|
Not all platforms support all of these constants.