NamespaceTreeControl.SetItemCustomState Method |
Sets the state of the checkbox associated with the Shell item.
Namespace:
callback.ShellBoost.Core.WindowsShell
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntaxpublic int SetItemCustomState(
Item item,
int state,
bool throwOnError = true
)
Parameters
- item
- Type: callback.ShellBoost.Core.WindowsShell.Item
The Shell item for which checkbox state is being set. - state
- Type: System.Int32
The desired state of the checkbox for the Shell item. - throwOnError (Optional)
- Type: System.Boolean
true to throw error; otherwise false.
Return Value
Type:
Int32
An error number or 0.
See Also