將指定的函式套用至陣列的每個項目。
命名空間/模組路徑: Microsoft.FSharp.Collections.ArrayModule.Parallel
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
iter : ('T -> unit) -> 'T [] -> unit
// Usage:
iter action array
參數
備註
使用 平行執行作業 [O:System.Threading.Parallel.For] 沒有指定將特定函式套用至輸入陣列元素的順序。
這個函式在 .NET 組件中名為 Iterate。 如果是透過 F# 以外的 .NET 語言存取成員,或透過反映存取成員,請使用這個名稱。
平台
Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2
版本資訊
F# 執行階段
支援版本:4.0
Silverlight
不支援