Expr.PropertyGet — Metoda (F#)

Tworzy wyrażenie, które reprezentuje odczytywania właściwości statyczne

Ścieżka obszaru nazw/modułu: Microsoft.FSharp.Quotations

Zestaw: FSharp.Core (w 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)

Parametry

  • property
    Typ:PropertyInfo

    Opis właściwości.

  • indexerArgs
    Type: Exprlist

    Wykaz indeksów dla właściwości, jeśli właściwość indeksowane.

  • obj
    Typ: wyrażenie

    Wystąpienie obiektu, jeśli ma zastosowanie.

Wartość zwracana

Wyrażenie będące wynikiem.

Platformy

Windows 8, Windows 7, Windows Server 2012 Windows Server 2008 R2

Informacje o wersji

F# Core wersji biblioteki

Obsługiwane: 2.0, 4.0, przenośne

Zobacz też

Informacje

Quotations.Expr — Klasa (F#)

Microsoft.FSharp.Quotations — Przestrzeń nazw (F#)