MessageIdListRemove Method

Remove a Message-Id from the MessageIdList.

Definition

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

Parameters

messageId  String
The Message-Id.

Return Value

Boolean
if the specified Message-Id was removed; otherwise, .

Implements

ICollectionTRemove(T)

Remarks

Removes the first instance of the specified Message-Id from the list if it exists.

Exceptions

ArgumentNullException messageId is .

See Also