ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.Tools Namespace / EnumerableExtension Class / Range<T> Method
The type of elements in the list.
The list from which to retrieve elements.
The zero-based starting index of the range.
The number of elements to retrieve.

In This Topic
Range<T> Method
In This Topic
Returns a range of elements from the list starting at the specified index.
Syntax
'Declaration
 
Public Shared Function Range(Of T)( _
   ByVal list As IList(Of T), _
   ByVal startIndex As Integer, _
   ByVal count As Integer _
) As IEnumerable(Of T)
 

Parameters

list
The list from which to retrieve elements.
startIndex
The zero-based starting index of the range.
count
The number of elements to retrieve.

Type Parameters

T
The type of elements in the list.

Return Value

A sequence of elements from the list.
See Also