Click or drag to resize

NamespaceTreeControlSetItemCustomState 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
Syntax
C#
public int SetItemCustomState(
	Item item,
	int state,
	bool throwOnError = true
)

Parameters

item
Type: callback.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