AreaRegistration.RegisterAllAreas Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| RegisterAllAreas() |
Registers all areas in an ASP.NET MVC application. |
| RegisterAllAreas(Object) |
Registers all areas in an ASP.NET MVC application by using the specified user-defined information. |
RegisterAllAreas()
Registers all areas in an ASP.NET MVC application.
public static void RegisterAllAreas();
static member RegisterAllAreas : unit -> unit
Public Shared Sub RegisterAllAreas ()
Applies to
RegisterAllAreas(Object)
Registers all areas in an ASP.NET MVC application by using the specified user-defined information.
public static void RegisterAllAreas(object state);
static member RegisterAllAreas : obj -> unit
Public Shared Sub RegisterAllAreas (state As Object)
Parameters
- state
- Object
An object that contains user-defined information to pass to the area.