RouteEntry Constructor (String, IHttpRoute)
Initializes a new instance of the RouteEntry class.
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public RouteEntry(
string name,
IHttpRoute route
)
public:
RouteEntry(
String^ name,
IHttpRoute^ route
)
new :
name:string *
route:IHttpRoute -> RouteEntry
Public Sub New (
name As String,
route As IHttpRoute
)
Parameters
name
Type: System.StringThe route name, if any; otherwise, null.
route
Type: System.Web.Http.Routing.IHttpRouteThe route.
See Also
RouteEntry Class
System.Web.Http.Routing Namespace
Return to top