AreaRegistration 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供在 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 应用程序内注册某个区域。 |