RegisterAllAreas Method
Collapse the table of content
Expand the table of content

AreaRegistration.RegisterAllAreas Method

Registers all areas in an ASP.NET MVC application.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member RegisterAllAreas() Registers all areas in an ASP.NET MVC application.
Public method Static member RegisterAllAreas(Object) Registers all areas in an ASP.NET MVC application by using the specified user-defined information.
Top

The RegisterAllAreas method finds all types in the application domain that derive from AreaRegistration and calls each of their RegisterArea methods.

Show:
© 2016 Microsoft