GlobalFilterCollection.Contains Method
Determines whether a filter is in the global filter collection.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Function Contains ( _
filter As Object _
) As Boolean
'Usage
Dim instance As GlobalFilterCollection
Dim filter As Object
Dim returnValue As Boolean
returnValue = instance.Contains(filter)
public bool Contains(
Object filter
)
public:
bool Contains(
Object^ filter
)
public function Contains(
filter : Object
) : boolean
Parameters
- filter
Type: System.Object
The filter.
Return Value
Type: System.Boolean
true if filter is found in the global filter collection; otherwise, false.