Domain ListRemove Method
Remove a domain.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the domain was removed; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool Remove(
string domain
)Parameters
- domain String
- The domain.
Return Value
Booleanif the domain was removed; otherwise, .
Implements
ICollectionTRemove(T)Remarks
Removes the first instance of the specified domain from the list if it exists.
Exceptions
| ArgumentNullException | domain is . |