HttpRouteCollection.Contains Method (IHttpRoute)
Determines whether the collection contains a specific IHttpRoute.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public virtual bool Contains(
IHttpRoute item
)
public:
virtual bool Contains(
IHttpRoute^ item
)
abstract Contains :
item:IHttpRoute -> bool
override Contains :
item:IHttpRoute -> bool
Public Overridable Function Contains (
item As IHttpRoute
) As Boolean
Parameters
item
Type: System.Web.Http.Routing.IHttpRouteThe object to locate in the collection.
Return Value
Type: System.Boolean
true if the IHttpRoute is found in the collection; otherwise, false.
Implements
See Also
HttpRouteCollection Class
System.Web.Http Namespace
Return to top