Click or drag to resize

MultipartEntity Class

Represents MIME entity with multiple body parts.
Inheritance Hierarchy

Namespace:  GemBox.Email.Mime
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1012
Syntax
public sealed class MultipartEntity : Entity, 
	IList<Entity>, ICollection<Entity>, IEnumerable<Entity>, 
	IEnumerable

The MultipartEntity type exposes the following members.

Constructors
  NameDescription
Public methodMultipartEntity(String)
Initializes a new instance of the MultipartEntity class with specified media subtype.
Public methodMultipartEntity(String, IEnumerableEntity)
Initializes a new instance of the MultipartEntity class with specified media subtype and collection of child entities.
Top
Properties
  NameDescription
Public propertyBoundary
Gets or sets the boundary.
Public propertyContentType
Gets the Content-Type header value.
(Inherited from Entity.)
Public propertyCount
Gets the count.
Public propertyEpilogue
Gets or sets the entity epilogue.
Public propertyHeaders
Gets the Entity headers.
(Inherited from Entity.)
Public propertyIsMultipart
Gets a value indicating whether this entity is multipart.
(Overrides EntityIsMultipart.)
Public propertyItem
Gets or sets the Entity at the specified index.
Public propertyParent
Gets the Entity parent.
(Inherited from Entity.)
Public propertyPreamble
Gets or sets the entity preamble.
Top
Methods
  NameDescription
Public methodAdd
Adds the specified Entity item.
Public methodClear
Removes all the items from this MultipartEntity.
Public methodClone
Creates a copy of this MultipartEntity instance.
(Overrides EntityClone.)
Public methodContains
Determines whether this MultipartEntity contains the specified Entity item.
Public methodCopyTo
Copies this MultipartEntity or a portion of it to an array.
Public methodFind(String)
Checks if this MultipartEntity or any of its children top level media type matches the specified one.
(Overrides EntityFind(String).)
Public methodFind(MediaType)
Checks if this MultipartEntity or any of its children content type matches the specified one.
(Overrides EntityFind(MediaType).)
Public methodIndexOf
Searches for the specified Entity item and returns the zero-based index of the first occurrence within this MultipartEntity.
Public methodInsert
Inserts an Entity item at the specified index.
Public methodRemove
Removes the specified Entity item.
Public methodRemoveAt
Removes the Entity item at the specified index.
Top
See Also