طريقة System::Collections::Generic::List::CopyTo

List::CopyTo(const System::ArrayPtr<T>&) method

ينسخ جميع العناصر إلى عناصر مصفوفة موجودة.

void System::Collections::Generic::List<T>::CopyTo(const System::ArrayPtr<T> &array)
ParameterTypeالوصف
arrayconst System::ArrayPtr<T>&Array لنسخ العناصر إليه.

انظر أيضًا

List::CopyTo(int, const System::ArrayPtr<T>&, int, int) method

ينسخ العناصر بدءًا من الفهرس المحدد إلى عناصر مصفوفة موجودة.

void System::Collections::Generic::List<T>::CopyTo(int index, const System::ArrayPtr<T> &array, int arrayIndex, int count)
ParameterTypeالوصف
الفهرسintفهرس يبدأ من الصفر للعنصر في القائمة التي يمثلها الكائن الحالي للبدء في النسخ منه
arrayconst System::ArrayPtr<T>&Array لنسخ العناصر إليه.
arrayIndexintالموضع الابتدائي في مصفوفة الوجهة.
countintعدد العناصر للنسخ.

انظر أيضًا

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

ينسخ عناصر القائمة إلى عناصر مصفوفة موجودة.

void System::Collections::Generic::List<T>::CopyTo(System::ArrayPtr<T> array, int arrayIndex) override
ParameterTypeالوصف
مصفوفةSystem::ArrayPtr<T>مصفوفة الوجهة.
arrayIndexintفهرس البداية لمصفوفة الوجهة.

انظر أيضًا