다음을 통해 공유


PSConsoleReadLineOptions.AddToHistoryHandler Property

Definition

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)

Property Value

Applies to