OperatorIntrinsics.GetArraySlice4D<'T> 函数 (F#)

获取数组的切片。

命名空间/模块路径: Microsoft.FSharp.Core.Operators.OperatorIntrinsics

程序集:FSharp.Core(在 FSharp.Core.dll 中)

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

// Usage:
GetArraySlice4D source start1 finish1 start2 finish2 start3 finish3 start4 finish4

参数

  • source
    类型:'T [,,,]

    源数组。

  • start1
    类型:intoption

    第一个维的起始索引。

  • finish1
    类型:intoption

    第一个维的结束索引。

  • start2
    类型:intoption

    第二个维的起始索引。

  • finish2
    类型:intoption

    第二个维的结束索引。

  • start3
    类型:intoption

    第三个维的起始索引。

  • finish3
    类型:intoption

    第三个维的结束索引。

  • start4
    类型:intoption

    第四个维的起始索引。

  • finish4
    类型:intoption

    第四个维的结束索引。

返回值

从给定索引处开始的四维子数组。

平台

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

请参见

参考

Operators.OperatorIntrinsics 模块 (F#)

Core.Operators 模块 (F#)