Edit

Share via


MimePartContentDescription.RemoveAt(Int32) Method

Definition

Removes the MIME part located at the specified index of the list of child MIME parts.

public:
 bool RemoveAt(int index);
public bool RemoveAt (int index);
member this.RemoveAt : int -> bool
Public Function RemoveAt (index As Integer) As Boolean

Parameters

index
Int32

The zero-based index of the MIME part to remove.

Returns

True if the MIME part is successfully removed; otherwise, false.

Exceptions

Thrown when the index is less than zero, or when the index is greater than or equal to the number of child MIME parts.

Applies to