Share via


ControllerContext.RouteData Property

Gets or sets the URL route data.

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

Syntax

'Declaration
Public Overridable Property RouteData As RouteData
    Get
    Set
public virtual RouteData RouteData { get; set; }
public:
virtual property RouteData^ RouteData {
    RouteData^ get ();
    void set (RouteData^ value);
}

Property Value

Type: System.Web.Routing.RouteData
The URL route data.

See Also

Reference

ControllerContext Class

System.Web.Mvc Namespace