FSharpValue.PreComputeUnionConstructorInfo メソッド (F#)
指定されたケースのオブジェクトを構築するメソッド。
名前空間/モジュール パス: Microsoft.FSharp.Reflection
アセンブリ: FSharp.Core (FSharp.Core.dll 内)
// Signature:
static member PreComputeUnionConstructorInfo : UnionCaseInfo * ?BindingFlags -> MethodInfo
static member PreComputeUnionConstructorInfo : UnionCaseInfo * ?bool -> MethodInfo
// Usage:
FSharpValue.PreComputeUnionConstructorInfo (unionCase)
FSharpValue.PreComputeUnionConstructorInfo (unionCase, bindingFlags = bindingFlags)
open FSharpReflectionExtensions;
FSharpValue.PreComputeUnionConstructorInfo (unionCase, allowAccessToPrivateRepresentation = false)
パラメーター
unionCase
型: UnionCaseInfo共用体ケースの記述。
bindingFlags
型: BindingFlags省略可能な束縛フラグ。
allowAccessToPrivateRepresentation
型: boolプライベート表現型のアクセシビリティを表すオプションのフラグ。
戻り値
MethodInfo オブジェクトとして指定された共用体ケースのコンストラクターの記述。
プラットフォーム
Windows 8、Windows 7、Windows Server 2012、Windows Server 2008 R2
バージョン情報
F# コア ライブラリのバージョン
2.0、4.0、Portable でサポート