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, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic