Language

HttpRouteData Class

Encapsulates information regarding the HTTP route.

Inheritance Hierarchy

System.Object   System.Web.Http.Routing.HttpRouteData

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

Syntax

'Declaration
Public Class HttpRouteData _
    Implements IHttpRouteData
'Usage
Dim instance As HttpRouteData
public class HttpRouteData : IHttpRouteData
public ref class HttpRouteData : IHttpRouteData
type HttpRouteData =
    class
        interface IHttpRouteData
    end
public class HttpRouteData implements IHttpRouteData

The HttpRouteData type exposes the following members.

Constructors

Name Description
HttpRouteData(IHttpRoute) Initializes a new instance of the HttpRouteData class.
HttpRouteData(IHttpRoute, HttpRouteValueDictionary) Initializes a new instance of the HttpRouteData class.

Top

Properties

Name Description
Route Gets the object that represents the route.
Values Gets a collection of URL parameter values and default values for the route.

Top

Methods

Name Description
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetHashCode (Inherited from Object.)
GetType (Inherited from Object.)
MemberwiseClone (Inherited from Object.)
ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.Routing Namespace