Επεξεργασία

Κοινή χρήση μέσω


MimeTextMatchCollection.Remove(MimeTextMatch) Method

Definition

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

public:
 void Remove(System::Web::Services::Description::MimeTextMatch ^ match);
public void Remove (System.Web.Services.Description.MimeTextMatch match);
member this.Remove : System.Web.Services.Description.MimeTextMatch -> unit
Public Sub Remove (match As MimeTextMatch)

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