Class Multipart
A multipart MIME entity (RFC 2046 §5.1). Contains a list of child entities separated by a boundary delimiter.
Inherited Members
Namespace: DRIT.Mail.Rfc.Mime
Assembly: DRIT.Mail.dll
Syntax
public sealed class Multipart : MimeEntity
Constructors
View SourceMultipart(MimeHeaderCollection, ContentType, ContentDisposition?, string?, ContentTransferEncoding, string, IReadOnlyList<MimeEntity>)
Initializes a new instance of the Multipart class.
Declaration
public Multipart(MimeHeaderCollection headers, ContentType contentType, ContentDisposition? contentDisposition, string? contentId, ContentTransferEncoding transferEncoding, string boundary, IReadOnlyList<MimeEntity> parts)
Parameters
| Type | Name | Description |
|---|---|---|
| MimeHeaderCollection | headers | |
| ContentType | contentType | |
| ContentDisposition | contentDisposition | |
| string | contentId | |
| ContentTransferEncoding | transferEncoding | |
| string | boundary | |
| IReadOnlyList<MimeEntity> | parts |
Properties
View SourceBoundary
Gets the boundary delimiter string.
Declaration
public string Boundary { get; }
Property Value
| Type | Description |
|---|---|
| string |
Parts
Gets the child entities of this multipart.
Declaration
public IReadOnlyList<MimeEntity> Parts { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<MimeEntity> |
Subtype
Gets the multipart subtype.
Declaration
public MultipartSubtype Subtype { get; }
Property Value
| Type | Description |
|---|---|
| MultipartSubtype |