Expr.PropertySet — Metoda (F#)

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

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

Zestaw: FSharp.Core (w FSharp.Core.dll)

// Signatures:
static member PropertySet : PropertyInfo * Expr * ?Expr list -> Expr
static member PropertySet : Expr * PropertyInfo * Expr * ?Expr list -> Expr

// Usage:
Expr.PropertySet (property, value)
Expr.PropertySet (property, value, indexerArgs = indexerArgs)
Expr.PropertySet (obj, property, value)
Expr.PropertySet (obj, property, value, indexerArgs = indexerArgs)

Parametry

  • property
    Typ:PropertyInfo

    Opis właściwości.

  • value
    Typ: wyrażenie

    Aby ustawić wartość.

  • 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#)