Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RouteCollectionExtensions Methods

RouteCollectionExtensions Methods

  Name Description
Public method Static member GetVirtualPathForArea(RouteCollection, RequestContext, RouteValueDictionary) Returns an object that contains information about the route and virtual path that are the result of generating a URL in the current area.
Public method Static member GetVirtualPathForArea(RouteCollection, RequestContext, String, RouteValueDictionary) Returns an object that contains information about the route and virtual path that are the result of generating a URL in the current area.
Public method Static member IgnoreRoute(RouteCollection, String) Ignores the specified URL route for the given list of available routes.
Public method Static member IgnoreRoute(RouteCollection, String, Object) Ignores the specified URL route for the given list of the available routes and a list of constraints.
Public method Static member MapRoute(RouteCollection, String, String) Maps the specified URL route.
Public method Static member MapRoute(RouteCollection, String, String, Object) Maps the specified URL route and sets default route values.
Public method Static member MapRoute(RouteCollection, String, String, String[]) Maps the specified URL route and sets the namespaces.
Public method Static member MapRoute(RouteCollection, String, String, Object, Object) Maps the specified URL route and sets default route values and constraints.
Public method Static member MapRoute(RouteCollection, String, String, Object, String[]) Maps the specified URL route and sets default route values and namespaces.
Public method Static member MapRoute(RouteCollection, String, String, Object, Object, String[]) Maps the specified URL route and sets default route values, constraints, and namespaces.
Top
Show:
© 2015 Microsoft