ShellFolderRegistrationToggle Method |
Toggles the specified Shell Folder, shown or hidden.
This method uses registry calls.
Namespace:
callback.ShellBoost.Core
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax public static bool Toggle(
Guid folderClassId,
string location,
RegistrationMode mode = RegistrationMode.User
)
Parameters
- folderClassId
- Type: SystemGuid
The Shell Folder Class Id. - location
- Type: SystemString
The location. - mode (Optional)
- Type: callback.ShellBoost.CoreRegistrationMode
The mode. Only User or Machine are supported.
Return Value
Type:
Boolean
true if it's shown, false it it's hidden.
Exceptions See Also