System::Collections::Generic::List::CopyTo method

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वर्तमान ऑब्जेक्ट द्वारा प्रतिनिधित्व किए गए सूची में तत्व का 0-आधारित सूचकांक जिससे कॉपी शुरू की जाएगी
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गंतव्य एरे की प्रारंभिक सूचकांक।

संबंधित देखें