BodyPartCollectionContains Method

Checks if the collection contains the specified body part.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
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)

Remarks

Determines whether or not the collection contains the specified body part.

Exceptions

See Also