Pop3MessageCollection Class
Namespace: Rebex.Net
Assembly: Rebex.Pop3.dll (version 7.0.9083)
Provides a container for a collection of Pop3MessageInfo objects.
Syntax
public sealed class Pop3MessageCollection : IList<Pop3MessageInfo>, ICollection<Pop3MessageInfo>, IEnumerable<Pop3MessageInfo>, IEnumerable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
Pop3MessageCollection() | Initializes a new instance of the Pop3MessageCollection class. |
Properties
Name | Description |
---|---|
Count | Gets the number of elements contained in the Pop3MessageCollection. |
Item[Int32] | Gets the Pop3MessageInfo at the specified index. |
SyncRoot | Gets an object that can be used to synchronize access to the Pop3MessageCollection. |
Methods
Name | Description |
---|---|
Add(Pop3MessageInfo) | Adds the Pop3MessageInfo to the Pop3MessageCollection. |
Clear() | Removes all items from the collection. |
Clone() | Creates a shallow copy of the Pop3MessageCollection. |
Contains(Pop3MessageInfo) | Determines whether the specified item is present in the Pop3MessageCollection. |
CopyTo(Pop3MessageInfo[], Int32) | Copies the range of elements from the Pop3MessageCollection to a one-dimensional Pop3MessageInfo array, starting at the specified index of the target array. |
Find(Int32) | Returns the Pop3MessageInfo of the specified id. |
Find(String) | Returns the Pop3MessageInfo of the specified unique id. |
GetEnumerator() | Gets an IEnumerator<T> for the Pop3MessageCollection collection. |
GetEnumerator(Int32, Int32) | Returns an enumerator for a section of the Pop3MessageCollection. |
IndexOf(Pop3MessageInfo) | Returns a zero-based index of the specified item within the Pop3MessageCollection, or -1 if not found. |
Insert(Int32, Pop3MessageInfo) | Inserts the Pop3MessageInfo at the specified position in the Pop3MessageCollection. |
Remove(Pop3MessageInfo) | Removes the specified Pop3MessageInfo from the Pop3MessageCollection. |
Remove(Int32) | Removes Pop3MessageInfo from the Pop3MessageCollection having specified sequence number. |
Remove(String) | Removes Pop3MessageInfo from the Pop3MessageCollection having specified unique id. |
RemoveAt(Int32) | Removes the Pop3MessageInfo at the specified index from the Pop3MessageCollection. |
Sort() | Sorts the messages in the entire Pop3MessageCollection by sequence number ascending. |
Sort(IComparer) | Sorts the elements in the entire Pop3MessageCollection using the specified comparer. |
Sort(Int32, Int32, IComparer) | Sorts the elements in a section of Pop3MessageCollection using the specified comparer. |
Explicit Interface Implementations
Name | Description |
---|---|
ICollection<Pop3MessageInfo>.IsReadOnly | Gets a value indicating whether the collection is read-only. |
ICollection<Pop3MessageInfo>.Remove(Pop3MessageInfo) | Removes the specified Pop3MessageInfo from the Pop3MessageCollection. |
IEnumerable.GetEnumerator() | Returns an enumerator that can iterate through the Pop3MessageCollection |