Click or drag to resize
MimeKit

MultipartRemove Method

Remove an entity from the multipart.

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

Parameters

entity  MimeEntity
The MIME entity to remove.

Return Value

Boolean

Field Value

Boolean
true if the part was removed; otherwise

Field Value

Boolean
false.

Implements

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