Sorts the elements in the specified range using the specified IComparer interface.
The IComparer implementation to use when comparing elements.
-or-
A null reference to use the IComparable implementation of each element.
Please refer to Sort for details.
Exception Type | Condition |
---|---|
ArgumentException | index and count do not denote a valid range of elements in the MimeAttachmentList. |
ArgumentOutOfRangeException |
index is less than zero. -or- count is less than zero. |
NotSupportedException | The MimeAttachmentList is read-only. |
MimeAttachmentList Class | SmtPop Namespace | MimeAttachmentList.Sort Overload List