Click or drag to resize
MimeKit

BodyPartCollectionRemove Method

Removes the specified body part.

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

Parameters

part  BodyPart
The body part.

Return Value

Boolean
if the body part was removed; otherwise, .

Implements

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