Share via


AreaRegistrationContext.Routes Property

Gets a collection of defined routes for the application.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Property Routes As RouteCollection
    Get
    Private Set
public RouteCollection Routes { get; private set; }
public:
property RouteCollection^ Routes {
    RouteCollection^ get ();
    private: void set (RouteCollection^ value);
}

Property Value

Type: System.Web.Routing.RouteCollection
A collection of defined routes for the application.

See Also

Reference

AreaRegistrationContext Class

System.Web.Mvc Namespace