EwsMessageCollection Class
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9119)
Represents a strongly typed collection of EwsMessageInfo objects.
Syntax
public class EwsMessageCollection : ICollection<EwsMessageInfo>, IEnumerable<EwsMessageInfo>, IEnumerable
Inherited Members
Constructors
Name | Description |
---|---|
EwsMessageCollection() | Initializes new empty instance. |
Properties
Name | Description |
---|---|
Count | Gets the number of elements contained in the collection. |
Item[Int32] | Gets an EwsMessageInfo objects at the specified index. |
PageResult | Gets additional information if paging was used. |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Methods
Name | Description |
---|---|
Add(EwsMessageInfo) | Adds the specified message to the end of the collection. |
AddRange(IEnumerable<EwsMessageInfo>) | Adds the specified messages to the end of the collection. |
Clear() | Removes all elements from the collection. |
Contains(EwsMessageInfo) | Determines whether the message is in the collection. |
CopyTo(EwsMessageInfo[], Int32) | Copies the range of elements from the collection to a one-dimensional EwsMessageInfo array, starting at the specified index of the target array. |
GetEnumerator() | Gets an IEnumerator<T> for the collection. |
Remove(EwsMessageInfo) | Removes the specified message from the collection. |
Explicit Interface Implementations
Name | Description |
---|---|
ICollection<EwsMessageInfo>.IsReadOnly | Gets a value indicating whether the collection is read-only. |
IEnumerable.GetEnumerator() | Returns an enumerator that can iterate through the collection. |