AreaRegistration.RegisterAllAreas Method

Include Protected Members
Include Inherited Members

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.

Overload List

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

Top

Remarks

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

See Also

Reference

AreaRegistration Class

System.Web.Mvc Namespace