AreaRegistration 类

定义

提供在 ASP.NET MVC 应用程序内注册一个或多个区域的方式。

public abstract class AreaRegistration
type AreaRegistration = class
Public MustInherit Class AreaRegistration
继承
AreaRegistration

构造函数

AreaRegistration()

初始化 AreaRegistration 类的新实例。

属性

AreaName

获取要注册的区域的名称。

方法

RegisterAllAreas()

注册 ASP.NET MVC 应用程序中的所有区域。

RegisterAllAreas(Object)

使用指定的用户定义信息在 ASP.NET MVC 应用程序内注册所有区域。

RegisterArea(AreaRegistrationContext)

使用指定区域的上下文信息在 ASP.NET MVC 应用程序内注册某个区域。

适用于