Partager via


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

Definition

Attempt to perform completion on the text surrounding the cursor. If there are multiple possible completions, the longest unambiguous prefix is used for completion. If trying to complete the longest unambiguous completion, a list of possible completions is displayed.

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

Parameters

arg
Object

Applies to