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

对注册区域所需的信息进行封装。

适用于