PSConsoleReadLine.GetSelectionState(Int32, Int32) 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.
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.