Click or drag to resize
MimeKit

DomainListRemove Method

Remove a domain.

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

Parameters

domain  String
The domain.

Return Value

Boolean

Field Value

Boolean
true if the domain was removed; otherwise

Field Value

Boolean
false.

Implements

ICollectionTRemove(T)
Exceptions
ExceptionCondition
ArgumentNullExceptiondomain is null.
Remarks
Removes the first instance of the specified domain from the list if it exists.
See Also