Click or drag to resize

NamespaceTreeControlGetItemCustomState Method (Item, Int32, Boolean)

Gets the state of the checkbox associated with a given Shell item.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public int GetItemCustomState(
	Item item,
	out int state,
	bool throwOnError = true
)

Parameters

item
Type: callback.ShellBoost.Core.WindowsShellItem
The item.
state
Type: SystemInt32
The 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.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is null.
See Also