Expr.PropertyGet メソッド (F#)
静的プロパティの読み取りを表す式を作成します。
名前空間/モジュール パス: Microsoft.FSharp.Quotations
アセンブリ: FSharp.Core (FSharp.Core.dll 内)
// Signatures:
static member PropertyGet : PropertyInfo * ?Expr list -> Expr
static member PropertyGet : Expr * PropertyInfo * ?Expr list -> Expr
// Usage:
Expr.PropertyGet (property)
Expr.PropertyGet (property, indexerArgs = indexerArgs)
Expr.PropertyGet (obj, property)
Expr.PropertyGet (obj, property, indexerArgs = indexerArgs)
パラメーター
property
型: PropertyInfoプロパティの説明。
-
インデックス付きプロパティの場合、プロパティのインデックスのリスト。
obj
型: Exprオブジェクト インスタンス (該当する場合)。
戻り値
結果として生成された式。
プラットフォーム
Windows 8、Windows 7、Windows Server 2012 で Windows Server 2008 R2
バージョン情報
F# コア ライブラリのバージョン
サポート: ポータブル 2.0、4.0