ExplorerBrowserSelectItem Method |
Selects the item at the position passed by index.
Namespace:
Jam.Shell.WPF.Controls
Assembly:
ShellBrowserWPF (in ShellBrowserWPF.dll) Version: 1.3.1
Syntax public void SelectItem(
int pIndex,
bool pAdd = true
)
Public Sub SelectItem (
pIndex As Integer,
Optional pAdd As Boolean = true
)
public:
void SelectItem(
int pIndex,
bool pAdd = true
)
member SelectItem :
pIndex : int *
?pAdd : bool
(* Defaults:
let _pAdd = defaultArg pAdd true
*)
-> unit
Parameters
- pIndex
- Type: SystemInt32
The index of the item to be selected - pAdd (Optional)
- Type: SystemBoolean
if set to true the current selection is kept, else it is overwritten.
Exceptions Exception | Condition |
---|
COMException | if item could not be selected e.g. in control panel. |
See Also