Provides a container for a collection of ImapMessageInfo objects
More...
Inherits System::Collections::ObjectModel::Collection< System::SharedPtr< Aspose::Email::Clients::Imap::ImapMessageInfo > >.
Provides a container for a collection of ImapMessageInfo objects
◆ ImapMessageInfoCollection() [1/2]
Aspose::Email::Clients::Imap::ImapMessageInfoCollection::ImapMessageInfoCollection |
( |
| ) |
|
Initializes a new instance of the ImapMessageCollection class.
◆ ImapMessageInfoCollection() [2/2]
Aspose::Email::Clients::Imap::ImapMessageInfoCollection::ImapMessageInfoCollection |
( |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< ImapMessageInfo >>> |
messageInfoEn | ) |
|
Initializes a new instance of the ImapMessageCollection class
- Parameters
-
messageInfoEn | initial value |
◆ ~ImapMessageInfoCollection()
virtual Aspose::Email::Clients::Imap::ImapMessageInfoCollection::~ImapMessageInfoCollection |
( |
| ) |
|
|
protectedvirtual |
◆ Add()
void Aspose::Email::Clients::Imap::ImapMessageInfoCollection::Add |
( |
const System::SharedPtr< ImapMessageInfo > & |
item | ) |
|
|
override |
◆ AddRange()
void Aspose::Email::Clients::Imap::ImapMessageInfoCollection::AddRange |
( |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< ImapMessageInfo >>> |
messageInfos | ) |
|
Adds the enumeration of ImapMessageInfo objects to the end of the collection
- Parameters
-
◆ get_Exceptions()
System::SharedPtr<System::Collections::Generic::IList<ElementProcessingException> > Aspose::Email::Clients::Imap::ImapMessageInfoCollection::get_Exceptions |
( |
| ) |
const |
Gets collection of exceptions, that occurred during message processing.
◆ get_SyncRoot()
System::SharedPtr<System::Object> Aspose::Email::Clients::Imap::ImapMessageInfoCollection::get_SyncRoot |
( |
| ) |
const |
Converts list of ImapMessageInfo to collection
- Parameters
-
- Returns
- Collection of ImapMessageInfo
Gets an object that can be used to synchronize access to the collection.
◆ Insert()
void Aspose::Email::Clients::Imap::ImapMessageInfoCollection::Insert |
( |
int32_t |
index, |
|
|
const System::SharedPtr< ImapMessageInfo > & |
item |
|
) |
| |
|
override |
Insert the specified ImapMessagInfo object at the specified index.
- Parameters
-
index | The index that the specified object will be inserted into. |
item | The ImapMessagInfo object to be inserted. |
◆ Remove()
bool Aspose::Email::Clients::Imap::ImapMessageInfoCollection::Remove |
( |
const System::SharedPtr< ImapMessageInfo > & |
item | ) |
|
|
override |
Remove specifed ImapMessageInfo object from this collection.
- Parameters
-
- Returns
- False if this collection doesn't contains specified object.True if removed successfully.
◆ RemoveAt()
void Aspose::Email::Clients::Imap::ImapMessageInfoCollection::RemoveAt |
( |
int32_t |
index | ) |
|
|
override |
Remove a ImapMessageInfo in specified index from this collection.
- Parameters
-
index | The index of the message to be remove. |
◆ SetTemplateWeakPtr()
void Aspose::Email::Clients::Imap::ImapMessageInfoCollection::SetTemplateWeakPtr |
( |
uint32_t |
argument | ) |
|
|
override |
◆ ToList()
System::SharedPtr<System::Collections::Generic::ListExt<System::SharedPtr<ImapMessageInfo> > > Aspose::Email::Clients::Imap::ImapMessageInfoCollection::ToList |
( |
| ) |
|