AreaRegistration.RegisterAllAreas 方法

定义

重载

RegisterAllAreas()

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

RegisterAllAreas(Object)

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

RegisterAllAreas()

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

public static void RegisterAllAreas ();
static member RegisterAllAreas : unit -> unit
Public Shared Sub RegisterAllAreas ()

适用于

RegisterAllAreas(Object)

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

public static void RegisterAllAreas (object state);
static member RegisterAllAreas : obj -> unit
Public Shared Sub RegisterAllAreas (state As Object)

参数

state
Object

一个包含要传递到区域中的用户定义信息的对象。

适用于