Core.AutoOpenAttribute 建構函式 (F#)
建立屬性用來標記命名空間或模組的路徑來參考組件時,會自動開啟。
命名空間/模組路徑:Microsoft.FSharp.Core
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signatures:
new AutoOpenAttribute : string -> AutoOpenAttribute
new AutoOpenAttribute : unit -> AutoOpenAttribute
// Usage:
new AutoOpenAttribute (path)
new AutoOpenAttribute ()
參數
path
型別:string在參考組件或開啟封入模組時,會自動開啟的命名空間或模組。
傳回值
新的 AutoOpenAttribute 執行個體。
平台
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
支援版本:3