PSConsoleReadLine.GetHistoryItems 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.
Return a collection of history items.
public static Microsoft.PowerShell.PSConsoleReadLine.HistoryItem[] GetHistoryItems ();
static member GetHistoryItems : unit -> Microsoft.PowerShell.PSConsoleReadLine.HistoryItem[]
Public Shared Function GetHistoryItems () As PSConsoleReadLine.HistoryItem()