PSConsoleReadLine.AddToHistory(String) Method
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.
Add a command to the history - typically used to restore history from a previous session.
public:
static void AddToHistory(System::String ^ command);
public:
static void AddToHistory(Platform::String ^ command);
static void AddToHistory(std::wstring const & command);
public static void AddToHistory (string command);
static member AddToHistory : string -> unit
Public Shared Sub AddToHistory (command As String)
Parameters
- command
- String