ShellFolderRegistration.SetIsPinnedToNameSpaceTree Method |
Sets a value that determines if the specified Shell Folder is pinned to the name space tree.
This method uses registry calls.
Namespace:
callback.ShellBoost.Core
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntaxpublic static bool? SetIsPinnedToNameSpaceTree(
Guid folderClassId,
bool? value,
RegistrationMode mode = RegistrationMode.User
)
Parameters
- folderClassId
- Type: System.Guid
The Shell Folder Class Id. - value
- Type: System.Nullable<Boolean>
The new value to set. Null will delete the registry value. - mode (Optional)
- Type: callback.ShellBoost.Core.RegistrationMode
The mode.
Return Value
Type:
Nullable<Boolean>
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