Sdílet prostřednictvím


PSConsoleReadLine.Complete(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 Complete (ConsoleKeyInfo? key = default, object arg = default);
static member Complete : Nullable<ConsoleKeyInfo> * obj -> unit
Public Shared Sub Complete (Optional key As Nullable(Of ConsoleKeyInfo) = Nothing, Optional arg As Object = Nothing)

Parameters

arg
Object

Applies to