Interactive.InteractiveSession 類別 (F#)
目前執行之 F# Interactive 工作階段支援的作業。
**命名空間/模組路徑:**Microsoft.FSharp.Compiler.Interactive
**組件:**FSharp.Compiler.Interactive.Settings (在 FSharp.Compiler.Interactive.Settings.dll 中)
[<Sealed>]
type InteractiveSession =
class
member this.AddPrintTransformer : InteractiveSession -> ('T -> obj) -> unit
member this.AddPrinter : InteractiveSession -> ('T -> string) -> unit
member this.CommandLineArgs : string []
member this.EventLoop : IEventLoop
member this.FloatingPointFormat : string
member this.FormatProvider : IFormatProvider
member this.PrintDepth : int
member this.PrintLength : int
member this.PrintSize : int
member this.PrintWidth : int
member this.ShowDeclarationValues : bool
member this.ShowIEnumerable : bool
member this.ShowProperties : bool
member this.CommandLineArgs : string [] with set : string []
member this.EventLoop : IEventLoop with set : IEventLoop
member this.FloatingPointFormat : string with set : string
member this.FormatProvider : IFormatProvider with set : IFormatProvider
member this.PrintDepth : int with set : int
member this.PrintLength : int with set : int
member this.PrintSize : int with set : int
member this.PrintWidth : int with set : int
member this.ShowDeclarationValues : bool with set : bool
member this.ShowIEnumerable : bool with set : bool
member this.ShowProperties : bool with set : bool
end
執行個體成員
成員 |
描述 |
---|---|
註冊印表機,用來控制互動式工作階段的輸出。 |
|
註冊列印轉換程式,用來控制互動式工作階段的輸出。 |
|
此命令列引數是忽略與互動式環境相關的引數,並以最後一個指令碼檔的名稱 (如果有的話) 取代第一個引數後的命令列引數。 |
|
設定或取得目前用來處理互動的事件迴圈。 |
|
取得或設定互動式工作階段之輸出中所使用的浮點數格式。 |
|
取得或設定互動式工作階段之輸出中使用的格式提供者。 |
|
取得或設定互動式工作階段的列印深度。 |
|
取得或設定互動式工作階段的總列印長度。 |
|
取得或設定互動式工作階段的總列印大小。 |
|
取得或設定互動式工作階段的列印寬度。 |
|
設為 false 時,便不會在互動式工作階段的輸出中顯示宣告值 |
|
設為 false 時,便不會在互動式工作階段的輸出中顯示序列 |
|
設為 false 時,便不會在互動式工作階段的輸出中顯示評估物件的屬性 |
平台
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.0
Silverlight
支援版本:2、3