Click or drag to resize

BodyPartMessage Class

A message/rfc822 body part.
Inheritance Hierarchy

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 3.0.0
public class BodyPartMessage : BodyPartBasic

The BodyPartMessage type exposes the following members.

Public methodBodyPartMessage
Initializes a new instance of the BodyPartMessage class.
Public propertyBody
Gets the body structure of the message.
Public propertyContentDescription
Gets the Content-Description of the body part, if available.
(Inherited from BodyPartBasic.)
Public propertyContentDisposition
Gets the Content-Disposition of the body part, if available.
(Inherited from BodyPartBasic.)
Public propertyContentId
Gets the Content-Id of the body part, if available.
(Inherited from BodyPartBasic.)
Public propertyContentLanguage
Gets the Content-Language of the body part, if available.
(Inherited from BodyPartBasic.)
Public propertyContentLocation
Gets the Content-Location of the body part, if available.
(Inherited from BodyPartBasic.)
Public propertyContentMd5
Gets the MD5 hash of the content, if available.
(Inherited from BodyPartBasic.)
Public propertyContentTransferEncoding
Gets the Content-Transfer-Encoding of the body part.
(Inherited from BodyPartBasic.)
Public propertyContentType
Gets the Content-Type of the body part.
(Inherited from BodyPart.)
Public propertyEnvelope
Gets the envelope of the message, if available.
Public propertyFileName
Get the name of the file.
(Inherited from BodyPartBasic.)
Public propertyIsAttachment
Determines whether or not the body part is an attachment.
(Inherited from BodyPartBasic.)
Public propertyLines
Gets the length of the message, in lines.
Public propertyOctets
Gets the size of the body part, in bytes.
(Inherited from BodyPartBasic.)
Public propertyCode examplePartSpecifier
Gets the part specifier.
(Inherited from BodyPart.)
Public methodAccept
Dispatches to the specific visit method for this MIME body part.
(Overrides BodyPartBasicAccept(BodyPartVisitor).)
Protected methodEncode
Encodes the BodyPart into the StringBuilder.
(Overrides BodyPartBasicEncode(StringBuilder).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current BodyPart.
(Inherited from BodyPart.)
Represents a message/rfc822 body part.
See Also