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

MimeAttachmentList.RemoveAt Method 

Removes the element at the specified index of the MimeAttachmentList.

public virtual void RemoveAt(
   int index
);

Parameters

index
The zero-based index of the element to remove.

Implements

IList.RemoveAt

Remarks

Please refer to RemoveAt for details.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

NotSupportedException

The MimeAttachmentList is read-only.

-or-

The MimeAttachmentList has a fixed size.

See Also

MimeAttachmentList Class | SmtPop Namespace