CopyTo()

ICollection::CopyTo(System::ArrayPtr<T>, int) method

Copies all collection elements to existing array elements.

virtual void System::Collections::Generic::ICollection<T>::CopyTo(System::ArrayPtr<T> array, int arrayIndex)=0

Arguments

ParameterTypeDescription
arraySystem::ArrayPtr<T>Destination array.
arrayIndexintDestination array start index.

See Also