Share via


HtmlHelper.RouteCollection Property

 

Gets or sets the collection of routes 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 collection of routes for the application.

Remarks

The RouteCollection instance that is returned by this property provides methods that enable you to manage a collection of objects that derive from the RouteBase class.

See Also

HtmlHelper Class
System.Web.Mvc Namespace

Return to top