Provides a container for a collection of ImapFolderInfo objects. More...
Inherits System::Collections::ObjectModel::Collection< System::SharedPtr< ImapFolderInfo > >.
Public Member Functions | |
| System::SharedPtr< System::Object > | get_SyncRoot () const |
| Gets an object that can be used to synchronize access to the collection. More... | |
| ImapFolderInfoCollection () | |
| Initializes a new instance of the ImapFolderInfoCollection class. More... | |
| ImapFolderInfoCollection (const System::ArrayPtr< System::SharedPtr< ImapFolderInfo >> &folders) | |
| Initializes a new instance of the ImapFolderInfoCollection class. More... | |
| void | AddRange (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< ImapFolderInfo >>> folders) |
| Adds the ImapFolderInfo to the ImapFolderInfoCollection. More... | |
| void | Add (const System::SharedPtr< ImapFolderInfo > &item) override |
| Adds the ImapFolderInfo to the ImapFolderInfoCollection. More... | |
| void | RemoveAt (int32_t index) override |
| Remove a folder info at specified index. More... | |
| void | SetTemplateWeakPtr (uint32_t argument) override |
Protected Member Functions | |
| virtual | ~ImapFolderInfoCollection () |
Provides a container for a collection of ImapFolderInfo objects.
| Aspose::Email::Clients::Imap::ImapFolderInfoCollection::ImapFolderInfoCollection | ( | ) |
Initializes a new instance of the ImapFolderInfoCollection class.
| Aspose::Email::Clients::Imap::ImapFolderInfoCollection::ImapFolderInfoCollection | ( | const System::ArrayPtr< System::SharedPtr< ImapFolderInfo >> & | folders | ) |
Initializes a new instance of the ImapFolderInfoCollection class.
| folders | Initial folders |
|
protectedvirtual |
|
override |
Adds the ImapFolderInfo to the ImapFolderInfoCollection.
| item | The ImapFolderInfo object. |
| void Aspose::Email::Clients::Imap::ImapFolderInfoCollection::AddRange | ( | System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< ImapFolderInfo >>> | folders | ) |
Adds the ImapFolderInfo to the ImapFolderInfoCollection.
| folders | The ImapFolderInfo objects. |
| System::SharedPtr<System::Object> Aspose::Email::Clients::Imap::ImapFolderInfoCollection::get_SyncRoot | ( | ) | const |
Gets an object that can be used to synchronize access to the collection.
|
override |
Remove a folder info at specified index.
| index | The zero-based index of the ImapFolderInfo to remove. |
|
override |