Version

SetSelection Method (XamMaskedInputProxy)

Select a text within the control
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
Start selection postion
iSelectionLength
length of selected text
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