طريقة System::Array::ForEach

Array::ForEach method

ينفذ الإجراء المحدد على كل عنصر من المصفوفة المحددة.

static void System::Array<T>::ForEach(const ArrayPtr<T> &arr, System::Action<T> action)
ParameterTypeالوصف
arrconst ArrayPtr<T>&المصفوفة المستهدفة
الإجراءSystem::Action<T>الإجراء الذي يُنفّذ على كل عنصر من المصفوفة

انظر أيضًا