Click or drag to resize
MimeKit

MessageIdListRemove Method

Remove a Message-Id from the MessageIdList.

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

Parameters

messageId  String
The Message-Id.

Return Value

Boolean

Field Value

Boolean
true if the specified Message-Id was removed; otherwise

Field Value

Boolean
false.

Implements

ICollectionTRemove(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionmessageId is null.
Remarks
Removes the first instance of the specified Message-Id from the list if it exists.
See Also