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

包含要傳遞給此區域之使用者定義資訊的物件。

適用於