共用方式為


AreaRegistration.RegisterArea(AreaRegistrationContext) 方法

定義

使用指定之區域的內容資訊,註冊 ASP.NET MVC 應用程式內的一個區域。

public abstract void RegisterArea (System.Web.Mvc.AreaRegistrationContext context);
abstract member RegisterArea : System.Web.Mvc.AreaRegistrationContext -> unit
Public MustOverride Sub RegisterArea (context As AreaRegistrationContext)

參數

context
AreaRegistrationContext

封裝註冊區域所需的資訊。

適用於