Click or drag to resize

BeforeShellCommandEventArgs Class

The BeforeShellCommandEventArgs contains data for the BeforeCommandExecute event. You can permit the execution of the shell command by registering to the event, then setting ExecuteShellCommand to false if necessary.
Inheritance Hierarchy

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax
public class BeforeShellCommandEventArgs : ShellCommandEventArgs

The BeforeShellCommandEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyCancel
Gets or sets a value indicating whether the command should be cancelled.
Public propertyCommandSucceeded
Gets a value indicating whether the command succeeded.
(Inherited from ShellCommandEventArgs.)
Public propertyError
Returns the Exception that might have occurred.
(Inherited from ShellCommandEventArgs.)
Public propertyExecuteShellCommand
Set to true if the selected command should be executed or set to false if not.
Public propertyItems
Gets the ItemIdLists that will be affected by the ShellCommand.
(Inherited from ShellCommandEventArgs.)
Public propertyPaths
The paths the shell command will affect. (readonly)
(Inherited from ShellCommandEventArgs.)
Public propertyVerb
Contains the context menu item, which has been selected.
(Inherited from ShellCommandEventArgs.)
Top
See Also