共用方式為


Array4D.get<'T> 函式 (F#)

擷取 4 維陣列中的項目。

命名空間/模組路徑: Microsoft.FSharp.Collections.Array4D

組件:FSharp.Core (在 FSharp.Core.dll 中)

// Signature:
Array4D.get : 'T [,,,] -> int -> int -> int -> int -> 'T

// Usage:
Array4D.get array index1 index2 index3 index4

參數

  • array
    Type: 'T [,,,]

    輸入陣列。

  • index1
    型別:int

    沿著第一個維度的索引。

  • index2
    型別:int

    沿著第二個維度的索引。

  • index3
    型別:int

    沿著第三個維度的索引。

  • index4
    型別:int

    沿著第四個維度的索引。

傳回值

所指定索引的值。

備註

您也可以使用 array.[index1,index2,index3,index4] 語法。

這個函式是名為 Get中 已編譯的組件。 如果從一個語言,F # 以外,或透過反映存取函式使用這個名稱。

平台

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# 執行階段

支援版本:2.0、4.0

Silverlight

支援版本:3

請參閱

參考

Collections.Array4D 模組 (F#)

Microsoft.FSharp.Collections 命名空間 (F#)