Share via


HttpRouteData.Route Property

Gets the object that represents the route.

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

Syntax

'Declaration
Public ReadOnly Property Route As IHttpRoute
    Get
'Usage
Dim instance As HttpRouteData
Dim value As IHttpRoute

value = instance.Route
public IHttpRoute Route { get; }
public:
virtual property IHttpRoute^ Route {
    IHttpRoute^ get () sealed;
}
abstract Route : IHttpRoute
override Route : IHttpRoute
final function get Route () : IHttpRoute

Property Value

Type: System.Web.Http.Routing.IHttpRoute
the object that represents the route.

Implements

IHttpRouteData.Route

See Also

Reference

HttpRouteData Class

System.Web.Http.Routing Namespace