System::String::CopyTo طريقة

String::CopyTo method

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

void System::String::CopyTo(int sourceIndex, const ArrayPtr<char_t> &destination, int destinationIndex, int count) const
معاملنوعالوصف
sourceIndexintمؤشر داخل السلسلة للبدء بالقراءة منه.
destinationconst ArrayPtr<char_t>&مصفوفة الوجهة.
destinationIndexintمؤشر داخل المصفوفة للبدء بالكتابة منه.
countintعدد الأحرف للنسخ.

انظر أيضًا