AreaRegistrationContext.MapRoute Method

Include Protected Members
Include Inherited Members

Maps the specified URL route and associates it with the area that is specified by the AreaName property.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method MapRoute(String, String) Maps the specified URL route and associates it with the area that is specified by the AreaName property.
Public method MapRoute(String, String, Object) Maps the specified URL route and associates it with the area that is specified by the AreaName property, using the specified route default values.
Public method MapRoute(String, String, String[]) Maps the specified URL route and associates it with the area that is specified by the AreaName property, using the specified namespaces.
Public method MapRoute(String, String, Object, Object) Maps the specified URL route and associates it with the area that is specified by the AreaName property, using the specified route default values and constraint.
Public method MapRoute(String, String, Object, String[]) Maps the specified URL route and associates it with the area that is specified by the AreaName property, using the specified route default values and namespaces.
Public method MapRoute(String, String, Object, Object, String[]) Maps the specified URL route and associates it with the area that is specified by the AreaName property, using the specified route default values, constraints, and namespaces.

Top

See Also

Reference

AreaRegistrationContext Class

System.Web.Mvc Namespace