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(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 Collection

        addItem, clear, containsItem, copyToTArray, get_Item, get_Items, getICollection, getIList, indexOfItem, insertItem, isReadOnly, iterator, removeItem, set_Item, setItem, size
      • Methods inherited from interface IGenericList

        get_Item, indexOfItem, insertItem, set_Item
      • Methods inherited from interface IGenericCollection

        addItem, clear, containsItem, copyToTArray, isReadOnly, removeItem, size
      • Methods inherited from interface 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(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 IGenericList<ImapFolderInfo>
        Overrides:
        removeAt in class 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 Collection<ImapFolderInfo>