Click or drag to resize

ViewOpenAndSelect Method (IEnumerableIntPtr, OFASI, Boolean)

Opens a Windows Explorer window with specified items in a particular folder selected. All children must share a common parent folder.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static int OpenAndSelect(
	IEnumerable<IntPtr> children,
	OFASI options = OFASI.OFASI_NONE,
	bool throwOnError = true
)

Parameters

children
Type: System.Collections.GenericIEnumerableIntPtr
The children.
options (Optional)
Type: callback.ShellBoost.Core.WindowsShellOFASI
The options.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
An error number or 0.
Exceptions
ExceptionCondition
ArgumentNullExceptionchildren is null.
ArgumentExceptionchildren don't share a common parent folder.
See Also