public final class ImapFolderInfoCollection extends ImapFolderInfoCollectionBase implements com.aspose.ms.System.Collections.Generic.IGenericList<ImapFolderInfo>, com.aspose.ms.System.Collections.Generic.IGenericCollection<ImapFolderInfo>, com.aspose.ms.System.Collections.Generic.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(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.
|
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, waitget_Item, indexOfItem, insertItem, set_Itempublic 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(com.aspose.ms.System.Collections.Generic.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 com.aspose.ms.System.Collections.Generic.IGenericList<ImapFolderInfo>removeAt in class com.aspose.ms.System.Collections.ObjectModel.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 com.aspose.ms.System.Collections.ObjectModel.Collection<ImapFolderInfo>Copyright (c) 2008-2021 Aspose Pty Ltd. All Rights Reserved.