MimePartCollection.Remove(MimePart) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 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)
參數
範例
以下範例展示了該 Remove 方法的典型使用方式。
MimePartCollection_8#8
備註
此方法執行線性搜尋;因此,平均執行時間與 Count成正比。
跟隨移除 MimePart 的元素會往上移動,佔據空出的位置。