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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for