MailKit Documentation
MailKit Documentation
API Reference
MailKit
BodyPartCollection Class
BodyPartCollection Methods
Add Method
Clear Method
Contains Method
CopyTo Method
GetEnumerator Method
IndexOf Method
Remove Method
Body
Part
Collection
Contains Method
Checks if the collection contains the specified body part.
Namespace:
MailKit
Assembly:
MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
Copy
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
ICollection
T
Contains(T)
Exceptions
Exception
Condition
ArgumentNullException
part
is
null
.
Remarks
Determines whether or not the collection contains the specified body part.
See Also
Reference
BodyPartCollection Class
MailKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast