Share via


CommandInvocationIntrinsics.PreCommandLookupAction Property

Definition

This event handler is called before the command lookup is done. If should have a single string parameter that is the name of the command and should return a CommandInfo object or null.

public:
 property EventHandler<System::Management::Automation::CommandLookupEventArgs ^> ^ PreCommandLookupAction { EventHandler<System::Management::Automation::CommandLookupEventArgs ^> ^ get(); void set(EventHandler<System::Management::Automation::CommandLookupEventArgs ^> ^ value); };
public EventHandler<System.Management.Automation.CommandLookupEventArgs> PreCommandLookupAction { get; set; }
member this.PreCommandLookupAction : EventHandler<System.Management.Automation.CommandLookupEventArgs> with get, set
Public Property PreCommandLookupAction As EventHandler(Of CommandLookupEventArgs)

Property Value

Applies to