InteractiveSession.PrintLength 屬性 (F#)
取得或設定在互動工作階段中列印的總列印長度,以及列印集合時要顯示的項目數目。
**命名空間/模組路徑:**Microsoft.FSharp.Compiler.Interactive
**組件:**FSharp.Compiler.Interactive.Settings (在 FSharp.Compiler.Interactive.Settings.dll 中)
// Signatures:
member this.PrintLength : int
member this.PrintLength : int with set : int
// Usage:
interactiveSession.PrintLength
interactiveSession.PrintLength <- printLength
參數
printLength
型別:int要設定的列印長度。
備註
預設值為 100。
平台
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