PSConsoleReadLine.GetKeyHandlers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)