Partager via


UrlHelper.RouteCollection Property

Gets a collection that contains the routes that are registered for the application.

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

Syntax

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

Property Value

Type: System.Web.Routing.RouteCollection
The route collection.

See Also

Reference

UrlHelper Class

System.Web.Mvc Namespace