'Declaration
Public Function GetItems( _ Optional ByVal onlyNonNullItems As Boolean, _ Optional ByVal from As Nullable(Of Integer), _ Optional ByVal to As Nullable(Of Integer) _ ) As IEnumerable(Of Tuple(Of Integer,T))
public IEnumerable<Tuple<int,T>> GetItems( bool onlyNonNullItems, Nullable<int> from, Nullable<int> to )
Parameters
- onlyNonNullItems
- Only return those items that aren't null. Passing this parameter to true is convenient for huge lists having mostly nulls.
- from
- The starting index to return items.
- to
- The last index to return items.