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

MimeAttachmentList.TrimToSize Method 

Sets the capacity to the actual number of elements in the MimeAttachmentList.

public virtual void TrimToSize();

Remarks

Please refer to TrimToSize 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