MultipartAdd Method

Add an entity to the multipart.

Definition

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

Parameters

entity  MimeEntity
The MIME entity to add.

Implements

ICollectionTAdd(T)

Remarks

Adds the specified part to the multipart.

Exceptions

ArgumentNullException entity is .
ObjectDisposedException The Multipart has been disposed.

See Also