次の方法で共有


FSharpValue.GetTupleField メソッド (F#)

組の値からフィールドを読み取ります。

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

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

// Signature:
static member GetTupleField : obj * int -> obj

// Usage:
FSharpValue.GetTupleField (tuple, index)

パラメーター

  • tuple
    型: obj

    入力の組。

  • 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

参照

その他の技術情報

Reflection.FSharpValue クラス (F#)

Microsoft.FSharp.Reflection 名前空間 (F#)