MimePartCollection.Remove(MimePart) メソッド

定義

MimePart 内で最初に見つかった指定の MimePartCollection を削除します。

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

パラメーター

mimePart
MimePart

コレクションから削除する MimePart

次の例では、 メソッドの一般的な使用方法を Remove 示します。

MimePartCollection_8#8

注釈

このメソッドは線形検索を実行します。したがって、平均実行時間は に比例します Count

削除された MimePart 後に続く要素は、空いたスポットを占有するために上に移動します。

適用対象