ServicesContainer.RemoveAll Method (Type, Predicate(Of 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)

Public Function RemoveAll (
	serviceType As Type,
	match As Predicate(Of Object)
) As Integer

Parameters

serviceType
Type: System.Type

The service type.

match
Type: System.Predicate(Of Object)

The delegate that defines the conditions of the elements to remove.

Return Value

Type: System.Int32

The number of elements removed from the list.

Return to top
Show: