Creates a new instance of the Selection class.

Selection()

public Selection();
Public Sub New()

Selection(Int, Int)

public Selection(int start, int length);
Public Sub New(ByVal start As Integer, ByVal length As Integer)

Parameters

Parameter Description
start Specifies the selection's start position.
length Specifies the number of selected characters.