Export (0) Print
Expand All

ServicesContainer.RemoveAll Method

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)

'Declaration
Public Function RemoveAll ( _
	serviceType As Type, _
	match As Predicate(Of Object) _
) As Integer
'Usage
Dim instance As ServicesContainer 
Dim serviceType As Type 
Dim match As Predicate(Of Object)
Dim returnValue As Integer 

returnValue = instance.RemoveAll(serviceType, _
	match)

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.
Show:
© 2014 Microsoft