| JamBaseShellListViewInvokeCommandOnSelected Method | 
            Invokes the given command on the selected items.
            See 
ShellCommand class for a list of possible commands.
            
 ShellBrowser (in ShellBrowser.dll) Version: 7.2
 Syntax
Syntaxpublic virtual bool InvokeCommandOnSelected(
	ShellCommand pCommand
)
Public Overridable Function InvokeCommandOnSelected ( 
	pCommand As ShellCommand
) As Boolean
public:
virtual bool InvokeCommandOnSelected(
	ShellCommand^ pCommand
)
abstract InvokeCommandOnSelected : 
        pCommand : ShellCommand -> bool 
override InvokeCommandOnSelected : 
        pCommand : ShellCommand -> bool Parameters
- pCommand  ShellCommand
- A command verb, like Open, Properties, 
            Delete, or any other command of installed shell extensions that may be specified as a string.
Return Value
Booleantrue if the command was invoked successfully, false otherwise
Implements
IShellCommandInvokableInvokeCommandOnSelected(ShellCommand) Example
Example
            Copy the files selected in the a 
ShellListView into a different folder.
            
shellListView1.InvokeCommandOnSelected(ShellCommand.Copy); 
using (ShellContextMenuProvider lContextMenu = new ShellContextMenuProvider(new ItemIdList(@"d:\backup")))
{
    lContextMenu.ExecuteCommand(ShellCommand.Paste); 
} See Also
See Also