FSharpValue.PreComputeUnionConstructor メソッド (F#)
特定の共用体ケースの判別共用体の値を構築するための関数を生成します。
名前空間/モジュール パス: Microsoft.FSharp.Reflection
アセンブリ: FSharp.Core (FSharp.Core.dll 内)
// Signature:
static member PreComputeUnionConstructor : UnionCaseInfo * ?BindingFlags -> obj [] -> obj
// Usage:
FSharpValue.PreComputeUnionConstructor (unionCase)
FSharpValue.PreComputeUnionConstructor (unionCase, bindingFlags = bindingFlags)
パラメーター
unionCase
型: UnionCaseInfo共用体ケースの記述。
bindingFlags
型: BindingFlags省略可能なバインディング フラグ。
戻り値
指定された共用体ケースの値を構築するための関数。
プラットフォーム
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