Partager via


GlobalFilterCollection.GetEnumerator Method

Returns an enumerator that iterates through the global filter collection.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of Filter)
'Usage
Dim instance As GlobalFilterCollection
Dim returnValue As IEnumerator(Of Filter)

returnValue = instance.GetEnumerator()
public IEnumerator<Filter> GetEnumerator()
public:
virtual IEnumerator<Filter^>^ GetEnumerator() sealed
public final function GetEnumerator() : IEnumerator<Filter>

Return Value

Type: System.Collections.Generic.IEnumerator<Filter>
An enumerator that iterates through the global filter collection.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

GlobalFilterCollection Class

System.Web.Mvc Namespace

Other Resources

Filtering in ASP.NET MVC