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

MimeAttachmentList.Reverse Method (Int32, Int32)

Reverses the order of the elements in the specified range.

public virtual void Reverse(
   int index,
   int count
);

Parameters

index
The zero-based starting index of the range of elements to reverse.
count
The number of elements to reverse.

Remarks

Please refer to Reverse for details.

Exceptions

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.

See Also

MimeAttachmentList Class | SmtPop Namespace | MimeAttachmentList.Reverse Overload List