Compartir a través de


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

'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 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

Reference

HtmlHelper Class

System.Web.Mvc Namespace