Export (0) Print
Expand All

AreaRegistrationContext Constructor (String, RouteCollection)

.NET Framework 4

Initializes a new instance of the AreaRegistrationContext class using the specified area name and routes collection.

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

public AreaRegistrationContext(
	string areaName,
	RouteCollection routes
)

Parameters

areaName
Type: System.String
The name of the area to register.
routes
Type: System.Web.Routing.RouteCollection
The collection of routes for the application.

Community Additions

ADD
Show:
© 2014 Microsoft