MimeTextMatchCollection.Remove(MimeTextMatch) Method

Definition

Removes the first occurrence of the specified MimeTextMatch from the MimeTextMatchCollection.

C#
public void Remove(System.Web.Services.Description.MimeTextMatch match);

Parameters

match
MimeTextMatch

The MimeTextMatch to remove from the collection.

Examples

The following example demonstrates the use of the Remove method.

MimeText_Match_MatchColl_9#6

Remarks

This method performs a linear search; therefore, the average execution time is proportional to Count.

The elements that follow the removed MimeTextMatch move up to occupy the vacated spot.

Applies to

Produkt Verzie
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)