ControllerContext.RouteData Property


Gets or sets the URL route data.

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


public virtual RouteData RouteData { get; set; }
property RouteData^ RouteData {
    virtual RouteData^ get();
    virtual void set(RouteData^ value);
abstract RouteData : RouteData with get, set
override RouteData : RouteData with get, set
Public Overridable Property RouteData As RouteData

Property Value

Type: System.Web.Routing.RouteData

The URL route data.

See Also

ControllerContext Class
System.Web.Mvc Namespace

Return to top