MailKit Documentation
MailKit Documentation
API Reference
MimeKit
DomainList Class
DomainList Methods
Add Method
Clear Method
Contains Method
CopyTo Method
GetEnumerator Method
IndexOf Method
Insert Method
Remove Method
RemoveAt Method
ToString Method
TryParse Method
Domain
List
Remove Method
Remove a domain.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
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
ICollection
T
Remove(T)
Exceptions
Exception
Condition
ArgumentNullException
domain
is
null
.
Remarks
Removes the first instance of the specified domain from the list if it exists.
See Also
Reference
DomainList Class
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast