Share 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

public RouteCollection RouteCollection { get; private set; }
public:
property RouteCollection^ RouteCollection {
    RouteCollection^ get();
    private: void set(RouteCollection^ value);
}
member RouteCollection : RouteCollection with get, private set
Public Property RouteCollection As RouteCollection
    Get
    Private Set
End Property

Property Value

Type: System.Web.Routing.RouteCollection

The route collection.

See Also

UrlHelper Class
System.Web.Mvc Namespace

Return to top