共用方式為


OperatorIntrinsics.GetArraySlice2D<'T> 函式 (F#)

取得陣列的切割區段。

**命名空間/模組路徑:**Microsoft.FSharp.Core.Operators.OperatorIntrinsics

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

// Signature:
GetArraySlice2D : 'T [,] -> int option -> int option -> int option -> int option -> 'T [,]

// Usage:
GetArraySlice2D source start1 finish1 start2 finish2

參數

  • source
    型別:'T[,]

    來源陣列。

  • start1
    型別:intoption

    第一個維度的起始索引。

  • finish1
    型別:intoption

    第一個維度的結束索引。

  • start2
    型別:intoption

    第二個維度的起始索引。

  • finish2
    型別:intoption

    第二個維度的結束索引。

傳回值

來自輸入索引的二維子陣列。

平台

Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2

版本資訊

F# 核心程式庫版本

支援版本:2.0, 4.0,可移植,可攜式執行檔 (PE)。

請參閱

參考

Operators.OperatorIntrinsics 模組 (F#)

Core.Operators 模組 (F#)