共用方式為


PSConsoleReadLine.GetKeyHandlers Method

Definition

Overloads

GetKeyHandlers(Boolean, Boolean)

Helper function for the Get-PSReadLineKeyHandler cmdlet.

GetKeyHandlers()

Return all bound key handlers.

GetKeyHandlers(Boolean, Boolean)

Helper function for the Get-PSReadLineKeyHandler cmdlet.

public static System.Collections.Generic.IEnumerable<Microsoft.PowerShell.KeyHandler> GetKeyHandlers (bool includeBound, bool includeUnbound);
static member GetKeyHandlers : bool * bool -> seq<Microsoft.PowerShell.KeyHandler>
Public Shared Function GetKeyHandlers (includeBound As Boolean, includeUnbound As Boolean) As IEnumerable(Of KeyHandler)

Parameters

includeBound
Boolean
includeUnbound
Boolean

Returns

Applies to

GetKeyHandlers()

Return all bound key handlers.

public static System.Collections.Generic.IEnumerable<Microsoft.PowerShell.KeyHandler> GetKeyHandlers ();
static member GetKeyHandlers : unit -> seq<Microsoft.PowerShell.KeyHandler>
Public Shared Function GetKeyHandlers () As IEnumerable(Of KeyHandler)

Returns

Applies to