CommandLookupEventArgs Class   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
EventArgs for the ScriptCmdletVariableUpdate event.
public ref class CommandLookupEventArgs : EventArgspublic class CommandLookupEventArgs : EventArgstype CommandLookupEventArgs = class
    inherit EventArgsPublic Class CommandLookupEventArgs
Inherits EventArgs- Inheritance
- 
				CommandLookupEventArgs
Properties
| Command | The CommandInfo object for the command that was found. | 
| CommandName | The name of the command we're looking for. | 
| CommandOrigin | The origin of the command internal or runspace (external) | 
| CommandScriptBlock | Scriptblock to be returned as the found command. If it is set to null, then the command to return and the StopSearch flag will be reset. | 
| StopSearch | If true on return from event handler, the search is stopped. |