Provides data for the events associated with command lookup methods in the CommandInvocationIntrinsics class.
The following tables list the members exposed by the CommandLookupEventArgs type.
|Command||Gets or sets the CommandInfo object for the command that was found.|
|CommandName||Gets or sets the name of the command to be found.|
|CommandOrigin||Gets the origin of the command (internal) or runspace (external).|
|CommandScriptBlock||Gets or sets the script block to be returned as the found command. If it is set to null, the command to return and the StopSearch flag are reset.|
|StopSearch||Gets or sets a value that indicates whether to stop the command lookup upon return from the event handler.|
Send comments about this topic to Microsoft.