AreaRegistrationContext.MapRoute Method (String, String)
Visual Studio 2010
Maps the specified URL route and associates it with the area that is specified by the AreaName property.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- name
- Type: System.String
The name of the route.
- url
- Type: System.String
The URL pattern for the route.
| Exception | Condition |
|---|---|
| ArgumentNullException | The url parameter is Nothing. |
Community Additions
ADD
Show: