Partager via


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)

Syntax

'Declaration
Public Sub New ( _
    areaName As String, _
    routes As RouteCollection _
)
public AreaRegistrationContext(
    string areaName,
    RouteCollection routes
)
public:
AreaRegistrationContext(
    String^ areaName, 
    RouteCollection^ routes
)

Parameters

See Also

Reference

AreaRegistrationContext Class

AreaRegistrationContext Overload

System.Web.Mvc Namespace