HashSet<TKey, TValue>.CopyTo - метод
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
Пространство имён: Tessa.Platform.CollectionsСборка: Tessa (в Tessa.dll) Версия: 4.0.7
public void CopyTo(
TValue[] array,
int arrayIndex
)
Public Sub CopyTo (
array As TValue(),
arrayIndex As Integer
)
public:
virtual void CopyTo(
array<TValue>^ array,
int arrayIndex
) sealed
abstract CopyTo :
array : 'TValue[] *
arrayIndex : int -> unit
override CopyTo :
array : 'TValue[] *
arrayIndex : int -> unit
- array TValue[]
- The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.
- arrayIndex Int32
- The zero-based index in array at which copying begins.
ICollection<T>.CopyTo(T[], Int32) ArgumentNullException | array is null. |
ArgumentOutOfRangeException | arrayIndex is less than 0. |
ArgumentException | The number of elements in the source ICollection<T> is greater than the available space from arrayIndex to the end of the destination array. |