AreaRegistration.RegisterAllAreas Method

Visual Studio 2010

Registers all areas in an ASP.NET MVC application.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public Shared Sub RegisterAllAreas

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

Community Additions

ADD
Show: