次の方法で共有


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

    プロパティの説明。

  • indexerArgs
    型: Exprlist

    インデックス付きプロパティの場合、プロパティのインデックスのリスト。

  • obj
    型: Expr

    オブジェクト インスタンス (該当する場合)。

戻り値

結果として生成された式。

プラットフォーム

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

バージョン情報

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

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

参照

関連項目

Quotations.Expr クラス (F#)

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