Click or drag to resize
MimeKit

MultipartRemove Method

Remove an entity from the multipart.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
public bool Remove(
	MimeEntity entity
)

Parameters

entity  MimeEntity
The MIME entity to remove.

Return Value

Boolean
if the part was removed; otherwise, .

Implements

ICollectionTRemove(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionentity is .
ObjectDisposedException The Multipart has been disposed.
Remarks
Removes the specified entity if it exists within the multipart.
See Also