Partager via


PSConsoleReadLine.CharacterSearch Method

Definition

Read a character and search forward for the next occurence of that character. If an argument is specified, search forward (or backward if negative) for the nth occurence.

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

Parameters

arg
Object

Applies to