Freigeben über


HttpControllerContext.RouteData Property

Gets or sets the route data.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property RouteData As IHttpRouteData
    Get
    Set
'Usage
Dim instance As HttpControllerContext
Dim value As IHttpRouteData

value = instance.RouteData

instance.RouteData = value
public IHttpRouteData RouteData { get; set; }
public:
property IHttpRouteData^ RouteData {
    IHttpRouteData^ get ();
    void set (IHttpRouteData^ value);
}
member RouteData : IHttpRouteData with get, set
function get RouteData () : IHttpRouteData
function set RouteData (value : IHttpRouteData)

Property Value

Type: System.Web.Http.Routing.IHttpRouteData
The route data.

See Also

Reference

HttpControllerContext Class

System.Web.Http.Controllers Namespace