The ImapMessageCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ImapMessageCollection |
Initializes a new instance of the ImapMessageCollection class.
|
Methods
Name | Description | |
---|---|---|
Add |
Adds the ImapMessageInfo to the ImapMessageCollection.
| |
Clear |
Removes all items from the collection.
| |
Clone |
Creates a shallow copy of the ImapMessageCollection.
| |
Contains |
Determines whether the specified item is present in the ImapMessageCollection.
| |
CopyTo |
Copies the range of elements from the ImapMessageCollection to a one-dimensional
ImapMessageInfo array, starting at the specified index of the target array.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
Find(Int32) |
Returns the ImapMessageInfo of the specified id.
| |
Find(String) |
Returns the ImapMessageInfo of the specified unique id.
| |
GetEnumerator |
Gets an IEnumerator<(Of <(<'T>)>)> for the ImapMessageCollection collection.
| |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf |
Returns a zero-based index of the specified item within the ImapMessageCollection, or -1 if not found.
| |
Insert |
Inserts the ImapMessageInfo at the specified position in the ImapMessageCollection.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(Int32) |
Removes ImapMessageInfo from the ImapMessageCollection having specified sequence number.
| |
Remove(String) |
Removes ImapMessageInfo from the ImapMessageCollection having specified unique id.
| |
Remove(ImapMessageInfo) |
Removes the specified ImapMessageInfo from the ImapMessageCollection.
| |
RemoveAt |
Removes the ImapMessageInfo at the specified index from the ImapMessageCollection.
| |
Sort()()()() |
Sorts the messages in the entire ImapMessageCollection by sequence number ascending.
| |
Sort(IComparer) |
Sorts the elements in the entire ImapMessageCollection using the specified comparer.
| |
Sort(Int32, Int32, IComparer) |
Sorts the elements in a section of ImapMessageCollection using the specified comparer.
| |
ToSequenceNumberMessageSet |
Returns an ImapMessageSet that contains sequence numbers of messages in this collection.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
ToUniqueIdMessageSet |
Returns an ImapMessageSet that contains unique IDs of messages in this collection.
|
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of elements contained in the ImapMessageCollection.
| |
Item |
Gets the ImapMessageInfo at the specified index.
| |
SyncRoot |
Gets an object that can be used to synchronize access to the ImapMessageCollection.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable..::..GetEnumerator | ||
ICollection<(Of <<'(ImapMessageInfo>)>>)..::..IsReadOnly | ||
ICollection<(Of <<'(ImapMessageInfo>)>>)..::..Remove |