Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AreaRegistrationContext Constructor (String, RouteCollection)

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)

'Declaration
Public Sub New ( _
	areaName As String, _
	routes As RouteCollection _
)
'Usage
Dim areaName As String 
Dim routes As RouteCollection 

Dim instance As New AreaRegistrationContext(areaName, _
	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.

Show:
© 2015 Microsoft