Simple Mail and Post Office Protocol for .Net (SmtPop)

MimeAttachmentList.Remove Method 

Removes the first occurrence of the specified MimeAttachment from the MimeAttachmentList.

public virtual void Remove(
   MimeAttachment value
);

Parameters

value
The MimeAttachment object to remove from the MimeAttachmentList. This argument can be a null reference.

Implements

IMimeAttachmentList.Remove

Remarks

Please refer to Remove for details.

Exceptions

Exception Type Condition
NotSupportedException

The MimeAttachmentList is read-only.

-or-

The MimeAttachmentList has a fixed size.

See Also

MimeAttachmentList Class | SmtPop Namespace