Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AreaRegistrationContext Constructor (String, RouteCollection, Object)

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

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
new : 
        areaName:string * 
        routes:RouteCollection * 
        state:Object -> AreaRegistrationContext

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.

state
Type: System.Object

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.