Click or drag to resize
MimeKit

BodyPartCollectionRemove Method

Removes the specified body part.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public bool Remove(
	BodyPart part
)

Parameters

part  BodyPart
The body part.

Return Value

Boolean

Field Value

Boolean
true if the body part was removed; otherwise

Field Value

Boolean
false.

Implements

ICollectionTRemove(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionpart is null.
Remarks
Removes the specified body part.
See Also