Click or drag to resize
MimeKit

AttachmentCollectionContains Method

Check if the collection contains the specified attachment.

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

Parameters

attachment  MimeEntity
The attachment.

Return Value

Boolean
if the specified attachment exists; otherwise, .

Implements

ICollectionTContains(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionattachment is .
Remarks
Determines whether the collection contains the specified attachment.
See Also