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
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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for