public final class ImapFolderInfoCollection extends ImapFolderInfoCollectionBase implements IGenericList<ImapFolderInfo>, IGenericCollection<ImapFolderInfo>, IGenericEnumerable<ImapFolderInfo>
Provides a container for a collection of ImapFolderInfo objects.
| Constructor and Description |
|---|
ImapFolderInfoCollection()
Initializes a new instance of the ImapFolderInfoCollection class.
|
ImapFolderInfoCollection(ImapFolderInfo... folders)
Initializes a new instance of the ImapFolderInfoCollection class.
|
| 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.
|
addItem, clear, containsItem, copyToTArray, get_Item, get_Items, getICollection, getIList, indexOfItem, insertItem, isReadOnly, iterator, removeItem, set_Item, setItem, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ImapFolderInfoCollection()
Initializes a new instance of the ImapFolderInfoCollection class.
public ImapFolderInfoCollection(ImapFolderInfo... folders)
Initializes a new instance of the ImapFolderInfoCollection class.
folders - Initial folderspublic final void addRange(IGenericEnumerable<ImapFolderInfo> folders)
Adds the ImapFolderInfo to the ImapFolderInfoCollection.
folders - The ImapFolderInfo objects.public final void add(ImapFolderInfo item)
Adds the ImapFolderInfo to the ImapFolderInfoCollection.
item - The ImapFolderInfo object.public final void removeAt(int index)
Remove a folder info at specified index.
removeAt in interface IGenericList<ImapFolderInfo>removeAt in class Collection<ImapFolderInfo>index - The zero-based index of the ImapFolderInfo to remove.public final Object getSyncRoot()
Gets an object that can be used to synchronize access to the collection.
getSyncRoot in class Collection<ImapFolderInfo>Copyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.