Click or drag to resize

Extensions.OpenViewAndSelect Method (IEnumerable<IWithIdList>, 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.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static int OpenViewAndSelect(
	this IEnumerable<IWithIdList> children,
	OFASI options = OFASI.OFASI_NONE,
	bool throwOnError = true
)

Parameters

children
Type: System.Collections.Generic.IEnumerable<IWithIdList>
The children.
options (Optional)
Type: callback.ShellBoost.Core.WindowsShell.OFASI
The options.
throwOnError (Optional)
Type: System.Boolean
true to throw error; otherwise false.

Return Value

Type: Int32
An error number or 0.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<IWithIdList>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also