Click or drag to resize
MimeKit

BodyPartCollectionContains Method

Checks if the collection contains the specified body part.

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

Parameters

part  BodyPart
The body part.

Return Value

Boolean
if the specified body part exists; otherwise, .

Implements

ICollectionTContains(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionpart is .
Remarks
Determines whether or not the collection contains the specified body part.
See Also