KnownFolders.GetDefaultPath

Gets the default path to the specified known folder. This does not require the folder to be existent.

public static string GetDefaultPath(KnownFolder knownFolder)

Return Value

The current (and possibly redirected) path of the known folder.

Parameters

knownFolder
The known folder which default path will be returned.

Exceptions

**System.Runtime.InteropServices.ExternalException**
Thrown if the path could not be retrieved.

Overloads:


See also:

Class KnownFolders

© West Wind Technologies, 2019 • Updated: 01/06/19
Comment or report problem with topic