Body Part CollectionContains Method
Checks if the collection contains the specified body part.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
if the specified body part exists; otherwise, .
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public bool Contains(
BodyPart part
)Parameters
- part BodyPart
- The body part.
Return Value
Booleanif the specified body part exists; otherwise, .
Implements
ICollectionTContains(T)Remarks
Determines whether or not the collection contains the specified body part.
Exceptions
| ArgumentNullException | part is . |