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

IMimeAttachmentList.RemoveAt Method 

Removes the element at the specified index of the IMimeAttachmentList.

void RemoveAt(
   int index
);

Parameters

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

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 IMimeAttachmentList is read-only.

-or-

The IMimeAttachmentList has a fixed size.

See Also

IMimeAttachmentList Interface | SmtPop Namespace