Aspose::Email::Clients::Imap::ImapFolderInfoCollection Class Referencefinal

Provides a container for a collection of ImapFolderInfo objects. More...

Inherits System::Collections::ObjectModel::Collection< System::SharedPtr< Aspose::Email::Clients::Imap::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 ()
 

Detailed Description

Provides a container for a collection of ImapFolderInfo objects.

Constructor & Destructor Documentation

◆ ImapFolderInfoCollection() [1/2]

Aspose::Email::Clients::Imap::ImapFolderInfoCollection::ImapFolderInfoCollection ( )

Initializes a new instance of the ImapFolderInfoCollection class.

◆ ImapFolderInfoCollection() [2/2]

Aspose::Email::Clients::Imap::ImapFolderInfoCollection::ImapFolderInfoCollection ( const System::ArrayPtr< System::SharedPtr< ImapFolderInfo >> &  folders)

Initializes a new instance of the ImapFolderInfoCollection class.

Parameters
foldersInitial folders

◆ ~ImapFolderInfoCollection()

virtual Aspose::Email::Clients::Imap::ImapFolderInfoCollection::~ImapFolderInfoCollection ( )
protectedvirtual

Member Function Documentation

◆ Add()

void Aspose::Email::Clients::Imap::ImapFolderInfoCollection::Add ( const System::SharedPtr< ImapFolderInfo > &  item)
override

Adds the ImapFolderInfo to the ImapFolderInfoCollection.

Parameters
itemThe ImapFolderInfo object.

◆ AddRange()

void Aspose::Email::Clients::Imap::ImapFolderInfoCollection::AddRange ( System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< ImapFolderInfo >>>  folders)

Adds the ImapFolderInfo to the ImapFolderInfoCollection.

Parameters
foldersThe ImapFolderInfo objects.

◆ get_SyncRoot()

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.

◆ RemoveAt()

void Aspose::Email::Clients::Imap::ImapFolderInfoCollection::RemoveAt ( int32_t  index)
override

Remove a folder info at specified index.

Parameters
indexThe zero-based index of the ImapFolderInfo to remove.

◆ SetTemplateWeakPtr()

void Aspose::Email::Clients::Imap::ImapFolderInfoCollection::SetTemplateWeakPtr ( uint32_t  argument)
override