Delen via


CommandLookupEventArgs Class

Definition

EventArgs for the ScriptCmdletVariableUpdate event.

public ref class CommandLookupEventArgs : EventArgs
public class CommandLookupEventArgs : EventArgs
type CommandLookupEventArgs = class
    inherit EventArgs
Public 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.

Applies to