Version

Select(Int32,Int32) Method

Selects text within the control
Syntax
'Declaration
 
Public Overloads Sub Select( _
   ByVal start As Integer, _
   ByVal length As Integer _
) 
public void Select( 
   int start,
   int length
)

Parameters

start
The character position at which to start the selection
length
The number of characters to select
Remarks

Note: The Select method will only function correctly when the AlwaysInEditMode property is set to true.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also