Represents a MIME multipart body (see RFC 2045).A multipart body has a
ordered list of body parts. The multipart body also has a preamble and
epilogue. The preamble consists of whatever characters appear before the
first body part while the epilogue consists of whatever characters come
after the last body part.
Inheritance Hierarchy
NI.Email.Mime.Message Multipart
Namespace: NI.Email.Mime.Message
Assembly: NI.Email.Mime (in NI.Email.Mime.dll) Version: 1.8.5168.22709
Syntax
The Multipart type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Multipart |
Creates a new empty Multipart instance.
|
Methods
Name | Description | |
---|---|---|
AddBodyPart |
Adds a body part to the end of the list of body parts.
| |
AddRelatedBinaryPart | ||
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteTo |
Properties
Name | Description | |
---|---|---|
BodyParts |
Gets the list of body parts. The list is immutable.
| |
Epilogue |
Gets the epilogue.
| |
Parent | ||
Preamble |
Gets the preamble.
| |
SubType |
Gets the multipart sub-type. E.g. alternative (the default)
or parallel. See RFC 2045 for common sub-types and their
meaning.
|
See Also