DomainListAdd Method

Add a domain.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void Add(
	string domain
)

Parameters

domain  String
The domain.

Implements

ICollectionTAdd(T)

Remarks

Adds the specified domain to the end of the list.

Exceptions

ArgumentNullException domain is .
ArgumentException domain is empty or syntactically invalid.

See Also