Click or drag to resize

ContentEntity Class

Represents MIME entity with single body.
Inheritance Hierarchy

Namespace:  GemBox.Email.Mime
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1012
Syntax
public sealed class ContentEntity : Entity

The ContentEntity type exposes the following members.

Constructors
  NameDescription
Public methodContentEntity(MediaType, Byte, TransferEncodingType, Encoding)
Initializes a new instance of the ContentEntity class with specified content type, raw content, transfer encoding and charset.
Public methodContentEntity(MediaType, Stream, TransferEncodingType, Encoding)
Initializes a new instance of the ContentEntity class with specified content type, raw content, transfer encoding and charset.
Top
Properties
  NameDescription
Public propertyCharset
Gets or sets the content charset.
Public propertyContent
Gets the content.
Public propertyContentType
Gets the Content-Type header value.
(Inherited from Entity.)
Public propertyDisposition
Gets or sets the content disposition.
Public propertyHeaders
Gets the Entity headers.
(Inherited from Entity.)
Public propertyIsMultipart
Gets a value indicating whether this entity is multipart.
(Overrides EntityIsMultipart.)
Public propertyParent
Gets the Entity parent.
(Inherited from Entity.)
Public propertyTransferEncoding
Gets or sets the content transfer encoding.
Top
Methods
  NameDescription
Public methodClone
Creates a copy of this ContentEntity instance.
(Overrides EntityClone.)
Public methodFind(String)
Checks if this ContentEntity top level media type matches specified one.
(Overrides EntityFind(String).)
Public methodFind(MediaType)
Checks if this ContentEntity content type matches the specified one.
(Overrides EntityFind(MediaType).)
Top
See Also