共用方式為


InteractiveSession.AddPrintTransformer<'T> 方法 (F#)

註冊列印轉換程式,用來控制互動式工作階段的輸出。

**命名空間/模組路徑:**Microsoft.FSharp.Compiler.Interactive

**組件:**FSharp.Compiler.Interactive.Settings (在 FSharp.Compiler.Interactive.Settings.dll 中)

// Signature:
member this.AddPrintTransformer : InteractiveSession -> ('T -> obj) -> unit

// Usage:
interactiveSession.AddPrintTransformer ()

參數

  • 型別:'T -> obj

平台

Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2

版本資訊

F# 執行階段

支援版本:2.0、4

Silverlight

支援版本:3

請參閱

參考

Interactive.InteractiveSession 類別 (F#)

Microsoft.FSharp.Compiler.Interactive 命名空間 (F#)