Condividi tramite


Expr.ToString Method (F#)

Formats the expression as a string.

Namespace/Module Path: Microsoft.FSharp.Quotations

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
member this.ToString : bool -> string

// Usage:
expr.ToString (full)

Parameters

  • full
    Type: bool

    Indicates whether or not method, property, constructor and type objects should be printed in detail. If false, these are abbreviated to their names.

Return Value

The formatted string.

Platforms

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

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Quotations.Expr Class (F#)

Microsoft.FSharp.Quotations Namespace (F#)