HttpFilterCollection.Contains Method
Determines whether the collection contains the specified item.
Namespace: System.Web.Http.Filters
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Function Contains ( _
filter As IFilter _
) As Boolean
'Usage
Dim instance As HttpFilterCollection
Dim filter As IFilter
Dim returnValue As Boolean
returnValue = instance.Contains(filter)
public bool Contains(
IFilter filter
)
public:
bool Contains(
IFilter^ filter
)
member Contains :
filter:IFilter -> bool
public function Contains(
filter : IFilter
) : boolean
Parameters
filter
Type: System.Web.Http.Filters.IFilterThe item to check.
Return Value
Type: System.Boolean
true if the collection contains the specified item; otherwise, false.