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

IMimeAttachmentList.Remove Method 

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

void Remove(
   MimeAttachment value
);

Parameters

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

Remarks

Please refer to Remove for details.

Exceptions

Exception Type Condition
NotSupportedException

The IMimeAttachmentList is read-only.

-or-

The IMimeAttachmentList has a fixed size.

See Also

IMimeAttachmentList Interface | SmtPop Namespace