Share via


ServicesContainer.RemoveAll Method (Type, Predicate<Object>)

 

Removes all the elements that match the conditions defined by the specified predicate.

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

Syntax

public int RemoveAll(
    Type serviceType,
    Predicate<object> match
)
public:
int RemoveAll(
    Type^ serviceType,
    Predicate<Object^>^ match
)
member RemoveAll : 
        serviceType:Type *
        match:Predicate<Object> -> int
Public Function RemoveAll (
    serviceType As Type,
    match As Predicate(Of Object)
) As Integer

Parameters

Return Value

Type: System.Int32

The number of elements removed from the list.

See Also

ServicesContainer Class
System.Web.Http.Controllers Namespace

Return to top