LabelList.RemoveAll Method

Removes all the labels that match the conditions defined by the specified predicate.
Public Overrides Function RemoveAll( _ 
ByVal match As Predicate(Of Label) _ 
) As Integer
This language is not supported or no code example is available.
public override int RemoveAll( 
Predicate<Label> match 
)
This language is not supported or no code example is available.

Parameters

match
Predicate<Label>

The predicate delegate that defines the conditions of the labels to remove.

Return Value

int

The number of elements removed from this collection.

Exception type Condition

ArgumentNullException

match is null.

.NET Framework

Supported in: 4.8

In this article

Definition