GetRange(int, int)
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 |
---|---|---|
int | index | The zero-based index at which the range starts. |
int | 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 |
|