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

Return Value

Type: System.Boolean

true if the IHttpRoute is found in the collection; otherwise, false.

Implements

ICollection<T>.Contains(T)

See Also

HttpRouteCollection Class
System.Web.Http Namespace

Return to top