Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RemoveAll Method

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)

public int RemoveAll(
	Type serviceType,
	Predicate<object> match


Type: System.Type

The service type.

Type: System.Predicate<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
© 2015 Microsoft