ReadOnlyListBase<(Of <(<'T>)>)>..::..Range Method
Returns a view onto a sub-range of this list. Items are not copied; the
returned IList<T> is simply a different view onto the same underlying items.
Namespace:
Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
Parameters
- start
- Type: Int32
The starting index of the view.
- count
- Type: Int32
The number of items in the view.
Return Value
A list that is a view onto the given sub-part of this list.Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | start or count is negative. |
ArgumentOutOfRangeException | start + count is greater than the size of the list. |