Bridge

List<(Of <(<'T>)>)>..::..GetRange Method (Int32, Int32)

Creates a shallow copy of a range of elements in the source List<(Of <(<'T>)>)>.

Namespace:  System.Collections.Generic
Assembly:  Bridge (in Bridge.dll)

Syntax


public List<T> GetRange(
	int index,
	int count
)
Public Function GetRange ( _
	index As Integer, _
	count As Integer _
) As List(Of T)
public:
List<T>^ GetRange(
	int^ index, 
	int^ count
)

Parameters

index
Type: System..::..Int32
The zero-based List<(Of <(<'T>)>)> index at which the range starts.
count
Type: System..::..Int32
The number of elements in the range.

Return Value

A shallow copy of a range of elements in the source List<(Of <(<'T>)>)>.

Exceptions


ExceptionCondition
System..::..ArgumentOutOfRangeExceptionindex is less than 0.-or-count is less than 0.
System..::..ArgumentExceptionindex and count do not denote a valid range of elements in the List<(Of <(<'T>)>)>.