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

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

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

void System::Collections::Generic::List<T>::CopyTo(const System::ArrayPtr<T> &array)
معاملنوعالوصف
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)
معاملنوعالوصف
الفهرس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
معاملنوعالوصف
مصفوفةSystem::ArrayPtr<T>مصفوفة الوجهة.
arrayIndexintفهرس بدء مصفوفة الوجهة.

انظر أيضًا