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