DomainListInsert Method

Insert a domain at the specified index.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void Insert(
	int index,
	string domain
)

Parameters

index  Int32
The index to insert the domain.
domain  String
The domain to insert.

Implements

IListTInsert(Int32, T)

Remarks

Inserts the domain at the specified index in the list.

Exceptions

ArgumentNullException domain is .
ArgumentOutOfRangeException index is out of range.
ArgumentException domain is empty or syntactically invalid.

See Also