AreaRegistration.RegisterAllAreas 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 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
包含要傳遞給此區域之使用者定義資訊的物件。