다음을 통해 공유


PSConsoleReadLine.ClearHistory(Nullable<ConsoleKeyInfo>, Object) Method

Definition

Clears history in PSReadLine. This does not affect PowerShell history.

public static void ClearHistory (ConsoleKeyInfo? key = default, object arg = default);
static member ClearHistory : Nullable<ConsoleKeyInfo> * obj -> unit
Public Shared Sub ClearHistory (Optional key As Nullable(Of ConsoleKeyInfo) = Nothing, Optional arg As Object = Nothing)

Parameters

arg
Object

Applies to