HttpFilterCollection Class

Represents a collection of HTTP filters.

Inheritance Hierarchy

System.Object
  System.Web.Http.Filters.HttpFilterCollection

Namespace:  System.Web.Http.Filters
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Class HttpFilterCollection _
    Implements IEnumerable(Of FilterInfo), IEnumerable
'Usage
Dim instance As HttpFilterCollection
public class HttpFilterCollection : IEnumerable<FilterInfo>, 
    IEnumerable
public ref class HttpFilterCollection : IEnumerable<FilterInfo^>, 
    IEnumerable
type HttpFilterCollection =  
    class 
        interface IEnumerable<FilterInfo>
        interface IEnumerable 
    end
public class HttpFilterCollection implements IEnumerable<FilterInfo>, IEnumerable

The HttpFilterCollection type exposes the following members.

Constructors

  Name Description
Public method HttpFilterCollection Initializes a new instance of the HttpFilterCollection class.

Top

Properties

  Name Description
Public property Count Gets the number of elements in the collection.

Top

Methods

  Name Description
Public method Add Adds an item at the end of the collection.
Public method Clear Removes all item in the collection.
Public method Contains Determines whether the collection contains the specified item.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator that iterates through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Removes the specified item from the collection.
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets an enumerator that iterates through the collection.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.Filters Namespace