Specifies enumerated constants used to retrieve directory paths to system special folders.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Visual Basic (Declaration)
<ComVisibleAttribute(True)> _
Public Enumeration SpecialFolder
Dim instance As SpecialFolder
[ComVisibleAttribute(true)]
public enum SpecialFolder
[ComVisibleAttribute(true)]
public enum class SpecialFolder
/** @attribute ComVisibleAttribute(true) */
public enum SpecialFolder
ComVisibleAttribute(true)
public enum SpecialFolder
The system special folders are folders such as Program Files, Programs, System, or Startup, which contain common information. Special folders are set by default by the system, or explicitly by the user, when installing a version of Windows.
The GetFolderPath method uses these enumerated constants to designate the special folder path to retrieve.
For more information about special folders, see the CSIDL Values topic at http://msdn.microsoft.com/library/en-us/shellcc/platform/Shell/reference/enums/csidl.asp.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
.NET Framework
Supported in: 2.0, 1.1, 1.0
.NET Compact Framework
Supported in: 2.0