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

MimeAttachmentList.Sort Method (IComparer)

Sorts the elements in the entire MimeAttachmentList using the specified IComparer interface.

public virtual void Sort(
   IComparer comparer
);

Parameters

comparer

The IComparer implementation to use when comparing elements.

-or-

A null reference to use the IComparable implementation of each element.

Remarks

Please refer to Sort for details.

Exceptions

Exception Type Condition
NotSupportedException The MimeAttachmentList is read-only.

See Also

MimeAttachmentList Class | SmtPop Namespace | MimeAttachmentList.Sort Overload List