Click or drag to resize

ShellFolderCustomSettingsSet Method

Sets a custom Shell Folder settings. This function writes to Desktop.ini.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public int Set(
	string path,
	bool forceWrite = false,
	bool throwOnError = true
)

Parameters

path
Type: SystemString
The path.
forceWrite (Optional)
Type: SystemBoolean
if set to true the custom folder's settings will be set regardless of whether the values are already present.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows Shell errors.

Return Value

Type: Int32
An error number or 0.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
See Also