Click or drag to resize
MimeKit

BodyPartCollection Class

A BodyPart collection.
Inheritance Hierarchy
SystemObject
  MailKitBodyPartCollection

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 3.0.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
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 methodGetEnumerator
Get the body part enumerator.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Gets the index of the body part matching the specified URI.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the specified body part.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
A BodyPart collection.
See Also