System::Collections::Generic::List::ForEach 方法

List::ForEach method

对列表中的所有元素执行操作。

void System::Collections::Generic::List<T>::ForEach(System::Action<T> action)
ParameterType描述
actionSystem::Action<T>Action 要应用。

另见