Version

SetRange Method (Selection)

Sets the starting and ending character positions for the range.
Syntax
'Declaration
 
Public Sub SetRange( _
   ByVal start As Integer, _
   ByVal end As Integer _
) 
public void SetRange( 
   int start,
   int end
)

Parameters

start
The starting character position for the Range.
end
The ending character position for the Range
Remarks
If there is any ambiguity in the specified start and end positions (i.e., the specified start is greater than the specified end), the Start and End of the Range are set such that the Start is always less than or equal to the End.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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