Freigeben über


PSConsoleReadLine.GetSelectionState(Int32, Int32) Method

Definition

Get the selection state of the buffer

public:
 static void GetSelectionState([Runtime::InteropServices::Out] int % start, [Runtime::InteropServices::Out] int % length);
 static void GetSelectionState([Runtime::InteropServices::Out] int & start, [Runtime::InteropServices::Out] int & length);
public static void GetSelectionState (out int start, out int length);
static member GetSelectionState : int * int -> unit
Public Shared Sub GetSelectionState (ByRef start As Integer, ByRef length As Integer)

Parameters

start
Int32

The start of the current selection or -1 if nothing is selected.

length
Int32

The length of the current selection or -1 if nothing is selected.

Applies to