Partager via


RouteCollectionExtensions.MapRoute Method

Include Protected Members
Include Inherited Members

Maps the route.

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 methodStatic member MapRoute(RouteCollection, String, String) Maps the specified URL route.
Public methodStatic member MapRoute(RouteCollection, String, String, Object) Maps the specified URL route and sets default route values.
Public methodStatic member MapRoute(RouteCollection, String, String, String[]) Maps the specified URL route and sets the namespaces.
Public methodStatic member MapRoute(RouteCollection, String, String, Object, Object) Maps the specified URL route and sets default route values and constraints.
Public methodStatic member MapRoute(RouteCollection, String, String, Object, String[]) Maps the specified URL route and sets default route values and namespaces.
Public methodStatic member MapRoute(RouteCollection, String, String, Object, Object, String[]) Maps the specified URL route and sets default route values, constraints, and namespaces.

Top

See Also

Reference

RouteCollectionExtensions Class

System.Web.Mvc Namespace