Click or drag to resize
MimeKit

BodyPartCollection Class

A BodyPart collection.
Inheritance Hierarchy
SystemObject
  MailKitBodyPartCollection

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public class BodyPartCollection : ICollection<BodyPart>, 
	IEnumerable<BodyPart>, IEnumerable

The BodyPartCollection type exposes the following members.

Constructors
 NameDescription
Public methodBodyPartCollection Initializes a new instance of the BodyPartCollection class.
Top
Properties
 NameDescription
Public propertyCount Get the number of body parts in the collection.
Public propertyIsReadOnly Get whether or not this body part collection is read only.
Public propertyItem Get the body part at the specified index.
Top
Methods
 NameDescription
Public methodAdd Add the specified body part to the collection.
Public methodClear Clears the body part collection.
Public methodContains Checks if the collection contains the specified body part.
Public methodCopyTo Copies all of the body parts in the collection to the specified array.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetEnumerator Get the body part enumerator.
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodIndexOf Gets the index of the body part matching the specified URI.
Protected methodMemberwiseClone
(Inherited from Object)
Public methodRemove Removes the specified body part.
Public methodToString
(Inherited from Object)
Top
Remarks
A BodyPart collection.
See Also