Adds an IHttpRoute instance to the collection.
Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overridable Sub Add ( _
    name As String, _
    route As IHttpRoute _
)
'Usage
Dim instance As HttpRouteCollection
Dim name As String
Dim route As IHttpRoute
instance.Add(name, route)
public virtual void Add(
    string name,
    IHttpRoute route
)
public:
virtual void Add(
    String^ name, 
    IHttpRoute^ route
)
abstract Add : 
        name:string * 
        route:IHttpRoute -> unit 
override Add : 
        name:string * 
        route:IHttpRoute -> unit 
public function Add(
    name : String, 
    route : IHttpRoute
)
Parameters
- name
 Type: System.String
 The name of the route.
- route
 Type: System.Web.Http.Routing.IHttpRoute
 The IHttpRoute instance to add to the collection.