共用方式為


FSharpValue.PreComputeTuplePropertyInfo 方法 (F#)

取得指出如何讀取的 Tuple 的欄位的資訊。

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

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

// Signature:
static member PreComputeTuplePropertyInfo : Type * int -> PropertyInfo * (Type * int) option

// Usage:
FSharpValue.PreComputeTuplePropertyInfo (tupleType, index)

參數

  • tupleType
    型別:Type

    輸入 Tuple 型別。

  • index
    型別:int

    要描述之 Tuple 項目的索引。

傳回值

有序元組元素的描述,為 PropertyInfo物件和選擇性的型別和索引,如果在有序元組大

平台

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#)