KnownFolders.Initialize

Creates and initializes the known folder.

public static void Initialize(KnownFolder knownFolder,
	bool defaultUser)

Parameters

knownFolder
The known folder which will be initialized.

defaultUser
Specifies if the paths of the default user (user profile template) will be used. This requires administrative rights.

Exceptions

**System.Runtime.InteropServices.ExternalException**
Thrown if the known folder could not be initialized.

Overloads:


See also:

Class KnownFolders

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