MimePartContentDescription.RemoveAt(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.