Method GetRange
GetRange(Int32, Int32)
Creates a shallow copy of a range of elements in the source AdvisableCollection<T>.
Declaration
public List<T> GetRange(int index, int count)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The zero-based index at which the range starts. |
Int32 | count | The number of elements in the range. |
Returns
Type | Description |
---|---|
List<T> | A shallow copy of a range of elements in the source AdvisableCollection<T>. |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException |
-or-
|
ArgumentException |
|