共用方式為


FSharpType.GetTupleElements 方法 (F#)

取得以 F# Tuple 型別表示的 Tuple 項目。

**命名空間/模組路徑:**Microsoft.FSharp.Reflection

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

// Signature:
static member GetTupleElements : Type -> Type []

// Usage:
FSharpType.GetTupleElements (tupleType)

參數

  • tupleType
    型別:Type

    輸入 Tuple 型別。

傳回值

指定之 Tuple 型別中所含型別的陣列。

平台

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

版本資訊

F# 核心程式庫版本

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

請參閱

參考

Reflection.FSharpType 類別 (F#)

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