Click or drag to resize

NamespaceTreeControlGetNextItem Method (Item, NSTCGNI, Item, Boolean)

Retrieves the next item in the tree according to which method is requested.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public int GetNextItem(
	Item item,
	NSTCGNI type,
	out Item nextItem,
	bool throwOnError = true
)

Parameters

item
Type: ShellBoost.Core.WindowsShellItem
The item.
type
Type: ShellBoost.Core.WindowsShellNSTCGNI
The type of the next item.
nextItem
Type: ShellBoost.Core.WindowsShellItem
The next item that fits the criteria for the next item that was requested.
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