共用方式為


Core.EntryPointAttribute 類別 (F#)

新增至函式的這個屬性指示它是應用程式的進入點。 如果缺少這未指定的 EXE 中編譯序列中的最後一個檔案中的 [模組] 繫結隱含初始化用做為進入點。

命名空間/模組路徑: Microsoft.FSharp.Core

組件:FSharp.Core (在 FSharp.Core.dll 中)

[<AttributeUsage(64, AllowMultiple = false)>]
[<Sealed>]
type EntryPointAttribute =
 class
  new EntryPointAttribute : unit -> EntryPointAttribute
 end

備註

您也可以使用簡短形式的名稱 EntryPoint

建構函式

成員

說明

new

建立屬性的執行個體。

平台

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

請參閱

參考

Microsoft.FSharp.Core 命名空間 (F#)

進入點 (F#)