PSConsoleReadLineOptions.AddToHistoryHandler 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 handler is called before adding a command line to history. The return value indicates if the command line should be added to history or not.
public:
property Func<System::String ^, bool> ^ AddToHistoryHandler { Func<System::String ^, bool> ^ get(); void set(Func<System::String ^, bool> ^ value); };
public Func<string,bool> AddToHistoryHandler { get; set; }
member this.AddToHistoryHandler : Func<string, bool> with get, set
Public Property AddToHistoryHandler As Func(Of String, Boolean)