Body Part Collection Class
A BodyPart collection.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class BodyPartCollection : ICollection<BodyPart>,
IEnumerable<BodyPart>, IEnumerable- Inheritance
- Object BodyPartCollection
- Implements
- ICollectionBodyPart, IEnumerableBodyPart, IEnumerable
Remarks
A BodyPart collection.
Constructors
| BodyPartCollection | Initializes a new instance of the BodyPartCollection class. |
Properties
| Count | Get the number of body parts in the collection. |
| IsReadOnly | Get whether or not this body part collection is read only. |
| Item | Get the body part at the specified index. |
Methods
| Add | Add the specified body part to the collection. |
| Clear | Clears the body part collection. |
| Contains | Checks if the collection contains the specified body part. |
| CopyTo | Copies all of the body parts in the collection to the specified array. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetEnumerator | Get the body part enumerator. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IndexOf | Gets the index of the body part matching the specified URI. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Remove | Removes the specified body part. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |