com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ImapFolderInfoCollection

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void add(ImapFolderInfo item)
      Adds the ImapFolderInfo to the ImapFolderInfoCollection.
      void addRange(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ImapFolderInfo> folders)
      Adds the ImapFolderInfo to the ImapFolderInfoCollection.
      Object getSyncRoot()
      Gets an object that can be used to synchronize access to the collection.
      void removeAt(int index)
      Remove a folder info at specified index.
      • Methods inherited from class com.aspose.ms.System.Collections.ObjectModel.Collection

        addItem, clear, containsItem, copyToTArray, get_Item, get_Items, getICollection, getIList, indexOfItem, insertItem, isReadOnly, iterator, removeItem, set_Item, setItem, size
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericList

        get_Item, indexOfItem, insertItem, set_Item
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericCollection

        addItem, clear, containsItem, copyToTArray, isReadOnly, removeItem, size
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
    • Constructor Detail

      • ImapFolderInfoCollection

        public ImapFolderInfoCollection()

        Initializes a new instance of the ImapFolderInfoCollection class.

      • ImapFolderInfoCollection

        public ImapFolderInfoCollection(ImapFolderInfo... folders)

        Initializes a new instance of the ImapFolderInfoCollection class.

        Parameters:
        folders - Initial folders
    • Method Detail

      • addRange

        public final void addRange(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ImapFolderInfo> folders)

        Adds the ImapFolderInfo to the ImapFolderInfoCollection.

        Parameters:
        folders - The ImapFolderInfo objects.
      • add

        public final void add(ImapFolderInfo item)

        Adds the ImapFolderInfo to the ImapFolderInfoCollection.

        Parameters:
        item - The ImapFolderInfo object.
      • removeAt

        public final void removeAt(int index)

        Remove a folder info at specified index.

        Specified by:
        removeAt in interface com.aspose.ms.System.Collections.Generic.IGenericList<ImapFolderInfo>
        Overrides:
        removeAt in class com.aspose.ms.System.Collections.ObjectModel.Collection<ImapFolderInfo>
        Parameters:
        index - The zero-based index of the ImapFolderInfo to remove.
      • getSyncRoot

        public final Object getSyncRoot()

        Gets an object that can be used to synchronize access to the collection.

        Overrides:
        getSyncRoot in class com.aspose.ms.System.Collections.ObjectModel.Collection<ImapFolderInfo>