Click or drag to resize

NamespaceTreeControlGetItemState Method (Item, NSTCITEMSTATE, NSTCITEMSTATE, Boolean)

Gets state information about a Shell item.

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

Parameters

item
Type: callback.ShellBoost.Core.WindowsShellItem
The item.
mask
Type: callback.ShellBoost.Core.WindowsShellNSTCITEMSTATE
Specifies which information is being requested, in the form of a bitmap. One or more of the NSTCITEMSTATE constants.
state
Type: callback.ShellBoost.Core.WindowsShellNSTCITEMSTATE
Contains the values requested in mask.
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