Version

SetSelection Method (TextEditorBaseProxy)

Selects a range of text in the editor
Syntax
'Declaration
 
Public Sub SetSelection( _
   ByVal iStartPos As System.Integer, _
   ByVal iSelectionLength As System.Integer _
) 
public void SetSelection( 
   System.int iStartPos,
   System.int iSelectionLength
)
public: void SetSelection( 
   System.int iStartPos,
   System.int iSelectionLength
) 

Parameters

iStartPos
The integer position in the editor that the selection will begin.
iSelectionLength
The integer length of the amount of text that will be selected.
Requirements

Target Platforms: 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