CommandInvocationIntrinsics.PreCommandLookupAction Property
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.
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)