MimeTextMatchCollection.Remove Method (MimeTextMatch)

 

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

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public void Remove(
	MimeTextMatch match
)

Parameters

match
Type: System.Web.Services.Description.MimeTextMatch

The MimeTextMatch to remove from the collection.

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.

The following example demonstrates the use of the Remove method.

MimeText_Match_MatchColl_9#6

.NET Framework
Available since 1.1
Return to top
Show: