pmMDA.NET

ListRangeEnumerator Constructor 

[This is preliminary documentation and subject to change.]

Initializes a new instance of the ListRangeEnumerator class.

public ListRangeEnumerator(
   IList list,
   int firstIndex,
   int lastIndex
);

Parameters

list
The list to iterate.
firstIndex
The index of the first item to iterate.
lastIndex
The index of the last item to iterate.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException firstIndex is less than zero.
- or -
lastIndex is less than firstIndex.
- or -
lastIndex is greather than or equal to the count of items in the list.

See Also

ListRangeEnumerator Class | PmMda.Net.Dog.Paging Namespace