Environment.GetFolderPath Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the path to the system special folder that is identified by the specified enumeration.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetFolderPath(Environment.SpecialFolder)

Gets the path to the system special folder that is identified by the specified enumeration.

System_CAPS_pubmethodSystem_CAPS_staticGetFolderPath(Environment.SpecialFolder, Environment.SpecialFolderOption)

Gets the path to the system special folder that is identified by the specified enumeration, and uses a specified option for accessing special folders.

Return to top
Show: