Click or drag to resize
MimeKit

MultipartContains Method

Check if the Multipart contains the specified entity.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
public bool Contains(
	MimeEntity entity
)

Parameters

entity  MimeEntity
The entity to check for.

Return Value

Boolean
if the specified entity exists; otherwise, .

Implements

ICollectionTContains(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionentity is .
ObjectDisposedException The Multipart has been disposed.
Remarks
Determines whether the multipart contains the specified entity.
See Also