The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
HttpRouteCollection::TryGetValue Method (String^, IHttpRoute^)
Gets the IHttpRoute with the specified route name.
Assembly: System.Web.Http (in System.Web.Http.dll)
Parameters
- name
-
Type:
System::String^
The route name.
- route
-
Type:
System.Web.Http.Routing::IHttpRoute^
When this method returns, contains the IHttpRoute instance, if the route name is found; otherwise, null. This parameter is passed uninitialized.
Return Value
Type: System::Booleantrue if the collection contains an element with the specified name; otherwise, false.
Show: