次の方法で共有


Reflection.FSharpValue クラス (F#)

レコード、共用体、タプルなど、F# の型に関連付けられた値の構築と分析に関する操作が含まれます。

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

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

[<AbstractClass>]
[<Sealed>]
type FSharpValue =
 class
  static member GetExceptionFields : obj * ?BindingFlags -> obj []
  static member GetRecordField : obj * PropertyInfo -> obj
  static member GetRecordFields : obj * ?BindingFlags -> obj []
  static member GetTupleField : obj * int -> obj
  static member GetTupleFields : obj -> obj []
  static member GetUnionFields : obj * Type * ?BindingFlags -> UnionCaseInfo * obj []
  static member MakeFunction : Type * (obj -> obj) -> obj
  static member MakeRecord : Type * obj [] * ?BindingFlags -> obj
  static member MakeTuple : obj [] * Type -> obj
  static member MakeUnion : UnionCaseInfo * obj [] * ?BindingFlags -> obj
  static member PreComputeRecordConstructor : Type * ?BindingFlags -> obj [] -> obj
  static member PreComputeRecordConstructorInfo : Type * ?BindingFlags -> ConstructorInfo
  static member PreComputeRecordFieldReader : PropertyInfo -> obj -> obj
  static member PreComputeRecordReader : Type * ?BindingFlags -> obj -> obj []
  static member PreComputeTupleConstructor : Type -> obj [] -> obj
  static member PreComputeTupleConstructorInfo : Type -> ConstructorInfo * Type option
  static member PreComputeTuplePropertyInfo : Type * int -> PropertyInfo * Type * int option
  static member PreComputeTupleReader : Type -> obj -> obj []
  static member PreComputeUnionConstructor : UnionCaseInfo * ?BindingFlags -> obj [] -> obj
  static member PreComputeUnionConstructorInfo : UnionCaseInfo * ?BindingFlags -> MethodInfo
  static member PreComputeUnionReader : UnionCaseInfo * ?BindingFlags -> obj -> obj []
  static member PreComputeUnionTagMemberInfo : Type * ?BindingFlags -> MemberInfo
  static member PreComputeUnionTagReader : Type * ?BindingFlags -> obj -> int
 end

静的メンバー

メンバー

説明

GetExceptionFields

F# の例外宣言のインスタンスを使用して作成された値から、すべてのフィールドを読み取ります。

GetRecordField

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

GetRecordFields

レコード値からすべてのフィールドを読み取ります。

GetTupleField

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

GetTupleFields

タプルからすべてのフィールドを読み取ります。

GetUnionFields

オブジェクトの共用体ケースとそのフィールドを識別します。

MakeFunction

動的な関数の実装のオブジェクトから型指定された関数を作成します。

MakeRecord

レコード型のインスタンスを作成します。

MakeTuple

タプル型のインスタンスを作成します。

MakeUnion

共用体ケース値を作成します。

PreComputeRecordConstructor

レコード値を構築するための関数を事前計算します。

PreComputeRecordConstructorInfo

レコード型の ConstructorInfo を取得します。

PreComputeRecordFieldReader

特定のフィールドをレコードから読み取るための関数を事前計算します。

PreComputeRecordReader

すべてのフィールドをレコードから読み取るための関数を事前計算します。 フィールドは、この型の Microsoft.FSharp.Reflection.Type.GetInfo の呼び出しで報告されるフィールドと同じ順序で返されます。

PreComputeTupleConstructor

特定のタプル型の値を読み取るための関数を事前計算します。

PreComputeTupleConstructorInfo

指定したタプル型のオブジェクトを作成するメソッドを取得します。 小さいタプルの場合、追加の型は返されません。

PreComputeTuplePropertyInfo

タプルのフィールドを読み取る方法を示す情報を取得します。

PreComputeTupleReader

特定のタプル型の値を読み取るための関数を事前計算します。

PreComputeUnionConstructor

特定の共用体ケースの判別共用体の値を構築するための関数を事前計算します。

PreComputeUnionConstructorInfo

指定されたケースのオブジェクトを構築するメソッド。

PreComputeUnionReader

共用体型の特定の識別子のケースについて、すべてのフィールドを読み取るための関数を事前計算します。

PreComputeUnionTagMemberInfo

共用体型のケース タグを表す整数を読み取るためのプロパティまたは静的メソッドを事前計算します。

PreComputeUnionTagReader

共用体型のタグを読み取る関数を事前計算します。

プラットフォーム

Windows 8、Windows 7、Windows Server 2012 で Windows Server 2008 R2

バージョン情報

F# コア ライブラリのバージョン

サポート: ポータブル 2.0、4.0

参照

関連項目

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