次の方法で共有


IntrinsicFunctions.GetArray<'T> 関数 (F#)

標準のオーバーロードされた連想 (インデックスによる) ルックアップ演算子。

名前空間/モジュール パス: Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicFunctions

アセンブリ: FSharp.Core (FSharp.Core.dll 内)

// Signature:
GetArray : 'T [] -> int -> 'T

// Usage:
GetArray source index

パラメーター

  • source
    型: 'T []

    ソースの配列。

  • index
    型: int

    配列のインデックス。

戻り値

指定したインデックスにある値。

プラットフォーム

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

参照

その他の技術情報

LanguagePrimitives.IntrinsicFunctions モジュール (F#)

Core.LanguagePrimitives モジュール (F#)