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.3.0
Syntax
C#
public bool Contains(
	BodyPart part
)

Parameters

part  BodyPart
The body part.

Return Value

Boolean

Field Value

Boolean
true if the specified body part exists; otherwise

Field Value

Boolean
false.

Implements

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