Click or drag to resize

ShellFolderRegistrationSetIsPinnedToNameSpaceTree Method

Sets a value that determines if the specified Shell Folder is pinned to the name space tree. This method uses registry calls.

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static bool? SetIsPinnedToNameSpaceTree(
	Guid folderClassId,
	bool? value,
	RegistrationMode mode = RegistrationMode.User
)

Parameters

folderClassId
Type: SystemGuid
The Shell Folder Class Id.
value
Type: SystemNullableBoolean
The new value to set. Null will delete the registry value.
mode (Optional)
Type: ShellBoost.CoreRegistrationMode
The mode.

Return Value

Type: NullableBoolean
The old value, true if it was set to 1, false if it was set to 0, and null if it was not set.
See Also