AreaRegistrationContext AreaRegistrationContext AreaRegistrationContext Constructors

Definition

Overloads

AreaRegistrationContext(String, RouteCollection) AreaRegistrationContext(String, RouteCollection) AreaRegistrationContext(String, RouteCollection)

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

AreaRegistrationContext(String, RouteCollection, Object) AreaRegistrationContext(String, RouteCollection, Object) AreaRegistrationContext(String, RouteCollection, Object)

Initializes a new instance of the AreaRegistrationContext class using the specified area name, routes collection, and user-defined data.

AreaRegistrationContext(String, RouteCollection) AreaRegistrationContext(String, RouteCollection) AreaRegistrationContext(String, RouteCollection)

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

public AreaRegistrationContext (string areaName, System.Web.Routing.RouteCollection routes);
new System.Web.Mvc.AreaRegistrationContext : string * System.Web.Routing.RouteCollection -> System.Web.Mvc.AreaRegistrationContext
Public Sub New (areaName As String, routes As RouteCollection)

Parameters

areaName
String String String

The name of the area to register.

routes
RouteCollection RouteCollection RouteCollection

The collection of routes for the application.

AreaRegistrationContext(String, RouteCollection, Object) AreaRegistrationContext(String, RouteCollection, Object) AreaRegistrationContext(String, RouteCollection, Object)

Initializes a new instance of the AreaRegistrationContext class using the specified area name, routes collection, and user-defined data.

public AreaRegistrationContext (string areaName, System.Web.Routing.RouteCollection routes, object state);
new System.Web.Mvc.AreaRegistrationContext : string * System.Web.Routing.RouteCollection * obj -> System.Web.Mvc.AreaRegistrationContext
Public Sub New (areaName As String, routes As RouteCollection, state As Object)

Parameters

areaName
String String String

The name of the area to register.

routes
RouteCollection RouteCollection RouteCollection

The collection of routes for the application.

state
Object Object Object

An object that contains user-defined information to pass to the area.

Applies to