'Usage Dim instance As SelectionRange.StartRangeDictionary Dim item As Object instance.FromItem(item)
Parameters
- item
- An object representing the item from which to start the selection range.
'Usage Dim instance As SelectionRange.StartRangeDictionary Dim item As Object instance.FromItem(item)
Dim range As New SelectionRange() range.StartRangeInfos.FromItem( Me.People[ 5 ] ) range.EndRangeInfos.ToItem( Me.People[ 10 ] ) Me.sllbListBox.SelectedRanges.Add( range )
SelectionRange range = new SelectionRange(); range.StartRangeInfos.FromItem( this.People[ 5 ] ); range.EndRangeInfos.ToItem( this.People[ 10 ] ); this.sllbListBox.SelectedRanges.Add( range );
Target Platforms: Windows 11, Windows 10, 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