Click or drag to resize
MimeKit

MessageIdListContains Method

Check if the MessageIdList contains the specified Message-Id.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public bool Contains(
	string messageId
)

Parameters

messageId  String
The Message-Id.

Return Value

Boolean

Field Value

Boolean
true if the specified Message-Id is contained; otherwise

Field Value

Boolean
false.

Implements

ICollectionTContains(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionmessageId is null.
Remarks
Determines whether or not the list contains the specified Message-Id.
See Also